简体   繁体   English

.net应用程序无法使用Windows 2008 Server或Windows 8的asmx Web服务

[英].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.

相关问题 Windows Server 2008上的.Net服务 - .Net service on Windows Server 2008 从.net Windows应用程序调用Web服务 - Calling a web service from a .net windows application Windows Server 2008 R2上的.NET 2.0 Web Service找不到模块异常 - Module Not Found Exception From .NET 2.0 Web Service On Windows Server 2008 R2 Windows服务在从3.5迁移的Windows Server 2008,x64,.NET 4上引发System.BadImageFormatException - Windows Service throws System.BadImageFormatException on Windows Server 2008, x64, .NET 4 migrated from 3.5 .NET Windows控制台通过php Web服务器进行身份验证并安全使用REST - .NET Windows console authenticate to php web server and consume REST securely .NET Web应用程序和Windows服务自动部署 - .NET Web Application and Windows Service Automatic Deployment 如何在Windows Server 2008 R2 Enterpresi和.NET中的Web应用程序上设置TLS证书? - How can I setup TLS certificate on Windows Server 2008 R2 Enterpresi and Web application in .NET? 从Windows .net应用程序访问基于Web的mysql数据库/服务器 - access web based mysql database/Server from Windows .net Application 无权使用log4net从.NET应用程序写入Windows Server 2008上的磁盘 - No permission to write to disk on Windows Server 2008 from .NET application with log4net Windows 7和2008上的.NET Windows Service安装问题 - .NET Windows Service installation problem on Windows 7 and 2008
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM