Script not served by static file handler on IIS7.5

前端 未结 23 1535
执念已碎
执念已碎 2020-11-30 21:11

I\'ve just tried to deploy my first web application to IIS on my Windows 7 Home Premium notebook. After creating the application, I had to change to the Classic App Pool, t

23条回答
  •  孤独总比滥情好
    2020-11-30 21:38

    One of the worst case scenario I just solved is - having conflicting entry in Web.config.

    On my local machine I didn't had .woff extension registered in IIS, so I added it using Web.config. But on production server .woff had mime type registered. This caused application level conflict.

    Funny part is there are no error logged for this. Just a guess work (first time of course).

    So for me solution was just to remove and/or elements from web.config.

提交回复
热议问题