[英]VB Web Reference works on local browser, but errors BC30002 not defined on webserver
I have an aspx page that works great with my wsdl Web References when running on my own machine/browser (right click, show in browser). 在自己的机器/浏览器上运行时,我有一个与wsdl Web引用配合使用的aspx页面(右键单击,在浏览器中显示)。
However, when I copy the files to a subfolder on the website, the compiler throws this error 但是,当我将文件复制到网站上的子文件夹时,编译器会引发此错误
BC30002: Type 'generalWS.general' is not defined. BC30002:类型'generalWS.general'未定义。
where generalWS is the name of my Web Service. 其中generalWS是我的Web服务的名称。
The webserver has an older version of .NET (IIS6 says 2.0.50727). 该网络服务器具有一个较旧的.NET版本(IIS6表示2.0.50727)。 My machine has .NET 4.0 (hard for me to tell actual version number).
我的机器具有.NET 4.0(很难告诉我实际的版本号)。
Is there something I need to install on the webserver to make this run correctly? 我需要在网络服务器上安装一些东西才能使其正常运行吗?
I installed .NET 3.5 on the server machine and this issue was resolved. 我在服务器计算机上安装了.NET 3.5,此问题已解决。 I was targeting and testing on a .NET 3.5 machine and deploying to a .NET 2.0 machine.
我当时在.NET 3.5计算机上进行定位和测试,然后部署到.NET 2.0计算机上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.