Script not served by static file handler on IIS7.5

前端 未结 23 1536
执念已碎
执念已碎 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:44

    If you are using iis 7.5.

    Just go to IIS Manager, open your website properties.

    You will see 'Handler Mappings' section there, just go to that section and Search for 'staticFile'.

    Most probably its a last file in the list.

    Then Right Click on it and Select 'Revert To Parent'.

    I have wasted so many hours while i have faced this first time, anyways this will solve your problem.

提交回复
热议问题