J
John Lynagh via .NET 247
Hi there,
I am having serious problems with my web.config file. When the authentication lines are added below my application crashes. When they are removed it works fine. Is there syntax error below or is there something more sinister going on.
Any help greatly appreciated.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<customErrors mode="Off" />
* <authentication mode="Forms">
* <forms name="AuthCookie" loginUrl="login.aspx" />
* </authentication>
</system.web>
<location path="MyMobile.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
Thanks,
John Lynagh
I am having serious problems with my web.config file. When the authentication lines are added below my application crashes. When they are removed it works fine. Is there syntax error below or is there something more sinister going on.
Any help greatly appreciated.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<customErrors mode="Off" />
* <authentication mode="Forms">
* <forms name="AuthCookie" loginUrl="login.aspx" />
* </authentication>
</system.web>
<location path="MyMobile.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
Thanks,
John Lynagh