Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to deploy an MVC3 application to IIS 7.5 On every route I'm getting an http 500 - internal server error :

Error Summary
HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred. Detailed Error Information
Module ManagedPipelineHandler 
Notification ExecuteRequestHandler 
Handler System.Web.Mvc.MvcHandler 
Error Code 0x00000000 
Requested URL
Physical Path C:\inetpub\wwwroot\\Home\NoAccess 
Logon Method Anonymous 
Logon User Anonymous 
Failed Request Tracing Log Directory C:\inetpub ..

I am able to request simple html files, or regular aspx files with inline code. Failed request tracing was enabled and the request trace showed one warning :

ModuleName ManagedPipelineHandler 
Notification 128 
HttpStatus 500 
HttpReason Internal Server Error 
HttpSubStatus 0 
ErrorCode 0 
ErrorCode The operation completed successfully. (0x0) 

When I try to recreate the site in IIS, and test connection I'm getting a "Cannot verify access to path" error. I gave full control to the Network Service and the application pool's identity is also Network Service.

Framework is set to 4.0, managed pipeline mode = integrated.

Any Ideas .. or is more info needed?

share|improve this question
Have you try to change it to classic mode? – Mark Spencer May 26 '11 at 6:22

Have a look here first:

Update: if it doesn't help - read this discussion (especially the last post on page 2):

Update 2: This one looks very promissing too:

remove <add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" /> from httpHandlers

and add <add verb="POST,GET" name="scripthandlerajaxFactory" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" /> to handlers

share|improve this answer
I don't think this helps me, the same error is shown in firefox, IE, Opera. And CustomErrors=Off in the web.config. Somehow MVC or the routing does not work. – bramdc Apr 27 '11 at 14:42
Ok. have a look at the 2nd URL. Exactly the scenario you describe. – DmitryK Apr 27 '11 at 14:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.