15 Feb 2010
04 Feb 2011
Link to this post
I have created the "TestApp" sitefinity project and use for this project local IIS web server.
I have created two pages - "Home" and "Login" by sitefinity backend.
I have added in web.config this configuration
<forms loginUrl="http://localhost/TestApp/login" name=".ASPXFORMSAUTH" defaultUrl="http://localhost/TestApp/home" ></forms>
<deny users="?" />
and for NETWORK SERVICE all permissions is right.
when I running the project I have got this error page
Server Error in '/TestApp' Application.
Access is denied.
An error occurred while accessing the resources required to serve this
request. The server may not be configured for access to the requested URL.
Error message 401.2.: Unauthorized: Logon failed due to server
configuration. Verify that you have permission to view this directory or page
based on the credentials you supplied and the authentication methods enabled on
the Web server. Contact the Web server's administrator for additional
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
I cant understand why?