开发者

The file 'xxxxx.asmx' has not been pre-compiled, and cannot be requested

开发者 https://www.devze.com 2023-02-01 14:13 出处:网络
I have a asp.net 4.0 website which has been published using fixed naming and single page assemblies. All of a sudden we are getting the file \'xxxxx.asmx\' has not been pre-compiled, and cannot be re

I have a asp.net 4.0 website which has been published using fixed naming and single page assemblies.

All of a sudden we are getting the file 'xxxxx.asmx' has not been pre-compiled, and cannot be requested on the webserv开发者_开发知识库ice page, and only the webservice page. Everything else works fine, I can see the file in the bin directory and it has the same name as a found in a previous (older) working bin folder.

Also works fine on Windows 7 dev server but not production (IIS 7 Server 2008). I have rebuilt and redeployed the application with no success, any suggestions?

Thanks


Sorted it, turns out just removed the Microsoft.mshtml reference.

0

精彩评论

暂无评论...
验证码 换一张
取 消