Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.Net MVC Application on Windows Server 2008 uses static file handler

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.

How do I get it to use the MVC handler?

EDIT

Have also tried asking this question on serverfault. It has a bounty here

like image 787
Shiraz Bhaiji Avatar asked Mar 17 '26 05:03

Shiraz Bhaiji


1 Answers

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.

like image 174
aanund Avatar answered Mar 18 '26 20:03

aanund



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!