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:
Posts (Atom)
Popular Posts
-
What is SQL Injection SQL Injection is one of the most dangerous possible attacks we have to deal with as a web application developer, a...
-
For MVC Interview Questions Part 2 refer below link: http://challadotnetfaq.blogspot.co.uk/2013/12/mvc-interview-questions-and-answers_...
-
Qlikview developer, Designer and admin interview questions (Qlikview developer, Designer and admin FAQ’S) 1. Difference between Set ...
-
. Following code is useful to delete duplicate records. The table must have identity column, which will be used to identify the duplicate re...
-
Review the permissions of the user that you're trying to impersonate. In my situation, I was only getting the error on my development ...