IIS 7.5 doesn't load static html pages
Posted
by
Kizz
on Server Fault
See other posts from Server Fault
or by Kizz
Published on 2011-05-19T00:42:04Z
Indexed on
2014/05/30
3:32 UTC
Read the original article
Hit count: 467
There is an IIS 7.5 freshly installed on a dedicated server. ASP.NET 4.0 Web app copied to its folder, new website is created on its own IP on post 80, IIS_IUSR and IUSR accounts have read/execute rights on site's folder, the site is assigned to its own Integrated app pool with 4.0 .NET (I tried Classic pool with the same results).
The problem: when I try to access this web site, browser only loads content generated by .NET resources such as aspx pages, .axd files, etc. Static images, static js, css and html files are in the page source but IIS doesn't serve them. Dev tools in all browsers complain that all those static resources have been sent by the server with wrong content type (plain text instead of image, styles, etc). What do I do wrong?
© Server Fault or respective owner