1

I recently took over an ASP MVC project at work, and when trying to debug in Visual Studio 2010 I receive an HTTP Error 401.0. I'm completely new to using ASP MVC, so any help would be greatly appreciated. Thx!

Detailed Error Information:

Module

ManagedPipelineHandler

Notification

ExecuteRequestHandler

Handler

System.Web.Mvc.MvcHandler

Error Code

0x00000000

Requested URL

localhost:2574/ (EDIT: I removed the 'http://' from the front of this URL due to an error from StackOverflow when I tried to post the question)

Physical Path

C:\Projects\sym_SPAIN_INT_NEAROD\sym_SPAIN\SPAIN

Logon Method

Anonymous

Logon User

Anonymous

Request Tracing Directory

C:\Users\nearod\Documents\IISExpress\TraceLogFiles\SPAIN

1 Answer 1

3

I work with Neal, and thought we'd better post the answer. This application had changed the authentication mode from Form to Windows in the web.config:

<authentication mode="Windows" />

Which ran fine on Windows XP. On Windows 7, it returned a 401. We found the issue in Project Properties (not the one when you right-click the project, but the one where you click the project name and click the Properties window icon.) In the Properties window, there is an item for Windows Authentication. This was set to "Disabled". Changing to "Enabled" fixed the problem.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.