[英].net application cannot consume asmx web service from windows 2008 server or windows 8
I have an issue that is causing me a lot of frustration! 我遇到了一个令我感到沮丧的问题!
I have a .NET asmx web service hosted on a windows 2007 R2 server. 我在Windows 2007 R2服务器上托管了一个.NET asmx Web服务。 This web service is using version 3.5 of the .NET framework. 该Web服务使用的是.NET Framework 3.5版。
I can instantiate and call a simple WebMethod from this web service without error from my windows forms based application (which also uses version 3.5 of the .NET framework) when installed on Windows XP, Vista and Windows 7. 安装在Windows XP,Vista和Windows 7上时,我可以从该Web服务实例化并调用一个简单的WebMethod,而不会从基于Windows窗体的应用程序(也使用.NET框架的3.5版)中出错,
However, when I attempt the same call from the same application when installed on a machine running either Windows 8 or Windows Server 2008 R2, I get instantionation errors (object not set...). 但是,当我在运行Windows 8或Windows Server 2008 R2的计算机上安装时尝试从同一应用程序进行相同的调用时,出现实例化错误(未设置对象...)。
Install the .NET Framework 3.5 on your Windows 8 to see if it helps. 在Windows 8上安装.NET Framework 3.5,以查看是否有帮助。 Find more info on Installing the .NET Framework 3.5 on Windows 8 . 查找有关在Windows 8上安装.NET Framework 3.5的更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.