K
kasse nyen via .NET 247
Hi all,
I'm looking at some codes for an application in Visual Studio.NET using C#, the thing is, no matter how many break points Iput in (even tried adding codes to the Page_Load event andplacing a break point there), the program just run withoutstopping on pressing F5. Has this got something to do with theWeb.config file? I've copied the Web.config file below and wouldbe so grateful for any help with this.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- application specific settings -->
<appSettings>
<add key="ConnectionString"value="server=localhost;Trusted_Connection=true;database=Store"/> </appSettings>
<!-- forms based authentication -->
<system.web>
<!-- enable Forms authentication -->
<authentication mode="Forms">
<forms name="StoreAuth" loginUrl="login.aspx"protection="All" path="/" />
</authentication>
<!-- enable custom errors for the application -->
<customErrors mode="RemoteOnly"defaultRedirect="ErrorPage.aspx" />
<!-- disable session state for application -->
<sessionState mode="Off" />
</system.web>
<!-- set secure paths -->
<location path="Checkout.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="OrderList.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="OrderDetails.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
kn.
I'm looking at some codes for an application in Visual Studio.NET using C#, the thing is, no matter how many break points Iput in (even tried adding codes to the Page_Load event andplacing a break point there), the program just run withoutstopping on pressing F5. Has this got something to do with theWeb.config file? I've copied the Web.config file below and wouldbe so grateful for any help with this.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- application specific settings -->
<appSettings>
<add key="ConnectionString"value="server=localhost;Trusted_Connection=true;database=Store"/> </appSettings>
<!-- forms based authentication -->
<system.web>
<!-- enable Forms authentication -->
<authentication mode="Forms">
<forms name="StoreAuth" loginUrl="login.aspx"protection="All" path="/" />
</authentication>
<!-- enable custom errors for the application -->
<customErrors mode="RemoteOnly"defaultRedirect="ErrorPage.aspx" />
<!-- disable session state for application -->
<sessionState mode="Off" />
</system.web>
<!-- set secure paths -->
<location path="Checkout.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="OrderList.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="OrderDetails.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
kn.