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

前端 未结 3 1473
Happy的楠姐
Happy的楠姐 2021-01-26 12:15

FINAL UPDATE: It turns out this was a red-herring due to a compression issue with a DotNetNuke module. I had to add to the PageBlaster DNN module, so this is n

相关标签:
3条回答
  • 2021-01-26 13:04

    Make sure you have enabled the Application Server role.

    0 讨论(0)
  • 2021-01-26 13:09

    Make sure Directory browsing is "disabled" as well

    0 讨论(0)
  • 2021-01-26 13:15

    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?

    0 讨论(0)
提交回复
热议问题