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
-
Applies To ASP.NET version 1.1 ASP.NET version 2.0 Summary This How To shows how you can help protect your ASP.NET applications from cr...
-
Use below javascript function to 1) validate the date difference in asp.net 2) difference (number of days, months, years) between two dat...
-
Confirmation box from code behind c# using modalpopup ajax control <% @ Page Language ="C#" AutoEventWireup ="true...
-
Difference between C# var and Javascript var C# var i = 10; // implicitly typed int i = 10; //explicitly typed //Initialization is man...
-
function EmailValidate() { var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; var address =...