【发布时间】:2014-07-17 10:40:09
【问题描述】:
我在多台服务器(Windows 2008)上有一个 WEB 应用程序。但是在 Windows 2012 服务器上,我收到以下错误
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'myservice.units.AFMService' is not defined.
Source Error:
Line 8: Dim oService As New myservice.units.AFMService
代码没有预编译,我只是将代码从一台服务器复制到另一台服务器。所有其他页面/调用都正常工作。
Web.config 有以下行
<add key="myservice.units.AFM" value="http://xxxxxx/xxxx/x/xxx.asmx"/
关于我可以检查什么的任何想法?
【问题讨论】:
标签: asp.net web-services iis