Migration from Visual Studio 2008 to 2013
Without any code changes I successfully migrated from VS 2008 to 2013 but when running website from VS 2013 I got below error.
Server Error in '/' Application.
Access is denied.
Description: 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 assistance.
________________________________________
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
Change the below settings to make everything works.
1. Goto Project properties (F4)
2. Update AnonymousAuthentication to Disabled
3. Update WindowsAuthentication to Enabled
Another way also u can change the settings
Go to "\My Documents\IISExpress\config\applicationhost.config" folder and update anonymousAuthentication to be false and the windowsAuthentication mode to true.
Solution for the QlikView, Biztalk, DotNet and MSBI real time development problems
Search This Blog
Thursday, November 20, 2014
Subscribe to:
Comments (Atom)
Popular Posts
-
WWF Related Sites (No need to search for WWF): http://aspalliance.com/1074_An_Introduction_to_Windows_Workflow_Foundation.all http://www.cod...
-
Confirmation box from code behind c# using modalpopup ajax control <% @ Page Language ="C#" AutoEventWireup ="true...
-
WCF offers immensely valuable support for reliability, transactions, concurrency management, security, and instance activation, all of w...
-
.Net Integration with Bill Desk Payment Gateway Introduction: Now-a-days online shopping websites has become very popular, and to h...
-
In earlier versions of ASP.NET, you enable smart navigation by using the Page.SmartNavigation property. When you set the Page.SmartNavigatio...