User-1246852455 posted
I have visual studio 2008 and using 3.5 sp1.
Also, I have windows web server edition 2008 and sql server 2008 web edition.
If I use windows authentication, I can hit the website:
<authentication mode="Windows" />
<identity impersonate="true" />
<customErrors mode="Off"/>
But once I switch to forms authentication:
<authentication mode="Forms">
<forms cookieless="UseCookies" defaultUrl="~/Default.aspx"
domain="" enableCrossAppRedirects="false"
loginUrl="~/Default.aspx" name=".ASPXAUTH"
path="/" protection="All" requireSSL="false"
slidingExpiration="true" timeout="30" />
</authentication>
<identity impersonate="false" />
Even if only a simple one:
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="~/Default.aspx" protection="All" timeout="999999"/>
</authentication>
<identity impersonate="false" />
It errors when I try to go to the /List.aspx page:
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
What can I do to get forms authentication to work?