No styles / images on asp.Net MVC 2 application

Posted by xenolf on Stack Overflow See other posts from Stack Overflow or by xenolf
Published on 2010-04-21T18:28:15Z Indexed on 2010/04/21 18:43 UTC
Read the original article Hit count: 493

Filed under:
|

Greetings

i have a little problem with my ASP MVC application. On my local development server everything works just fine but when i try to publish the application to an IIS 7.0 server it just displays plain pages without any styles / markups / images.

I put all those things in the /Content/ subfolder but when i try to access that folder on the production server it just returns me a 404 not found error.

I set the IIS server up with .Net 4.0 and followed the deployment guide on here: http://www.asp.net/learn/mvc/tutorial-08-cs.aspx

All views / controllers / classes seem to work just fine, the only thing which does not is the content subfolder and i cant see why.

Anyone got a suggestion what i could have overlooked or does anyone know that problem?

© Stack Overflow or respective owner

Related posts about iis7

Related posts about asp.net-mvc-2