WCF .svc file served as plain text in IIS7.5 .NET 4.0 - Not under Default Web Site

风格不统一 提交于 2019-12-02 08:22:17

Make sure you have enabled the Application Server role.

My hosting provider says that the Directory ("/framework") under the Website needs to be configured as Virtual Directory and use the parent AppPool.

When I do this the svc does seem to get processed (and I get another set of .NET errors).

However, on my dev environment, the sub folder is NOT a separate virtual directory - does it need to be?

Make sure Directory browsing is "disabled" as well

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!