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
-
For MVC Interview Questions Part 1 refer below link: http://challadotnetfaq.blogspot.co.uk/2013/12/mvc-interview-questions-and-answers.ht...
-
MVC: Handling Multiple button submission from one view While developing any web applications we use to design lot more forms. Most of...
-
Object Dynamic Var Can able to store any kind of value, because object is the base class of all type in .net framework. Can able to s...
-
//insert data into excel sheet private void btnSave_Click(object sender, EventArgs e) { using (OleDbConnection excelConnection = new O...
-
Here are some recommendations to help you to decide whether to use an interface or an abstract class to provide polymorphism for your compon...