Script not served by static file handler on IIS7.5

前端 未结 23 1547
执念已碎
执念已碎 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条回答
  •  旧时难觅i
    2020-11-30 21:43

    There is a chance that application pool created for you application by default is version 2. So although you see a handler for .svc extension in the list it does not work and treat it as static file. All you need is to open application pool properties and switch it to version 4.

提交回复
热议问题