2

I have just installed a ASP.Net Mvc application on a windows server 2008.

When I try to use the application I see that IIS 7 tries to use the static file handler, I therefore get a 403 or 404 error.

I have tried adding the URL routing module and giving it priority.

I have install the ASP.Net MVC msi.

How do I get it to use the MVC handler?

  • Just to rule out the obvious... You have installed the MVC framework on your server, yes? – squillman Jan 15 '10 at 16:36
  • Are you hosting it under a classic or integrated pipeline worker process? Integrated should work out of the box for MVC apps. – Dominic D Jan 19 '10 at 18:52
  • Also, MVC v1 or MVC v2? – squillman Jan 19 '10 at 20:12
  • It is MVC v1 with integrated pipeline – Shiraz Bhaiji Jan 20 '10 at 8:29
5
+100

In Server Manager, select Web Server (IIS) and press 'Add Role Services'. From here, select 'ASP.NET' and press OK to add the other required role services.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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