Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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

1 Answer 1

up vote 5 down vote accepted
+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.

share|improve this answer

Your Answer

 
discard

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.