Asp – 401.2 Error with Forms Authentication

asp.net

I'm getting a 401.2 error when I move my web app from our test server to our production server. The app uses forms authentication and it runs perfectly on the test server.Anonymous access is enabled on both servers. What else could be causing the 401.2 error? (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.). Any assistance would be very welcome!

Thanks,
Caroline

Best Answer

First make sure in your web.config everything is ok.

Here you can find Microsoft Support article for 401.2 Error.

Related Topic