Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/31.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 调用asmx webservice时出错,缺少DLL Microsoft.Practices.EnterpriseLibrary.Data 3.0.0.0_C#_Asp.net_Web Services_Iis_Asmx - Fatal编程技术网

C# 调用asmx webservice时出错,缺少DLL Microsoft.Practices.EnterpriseLibrary.Data 3.0.0.0

C# 调用asmx webservice时出错,缺少DLL Microsoft.Practices.EnterpriseLibrary.Data 3.0.0.0,c#,asp.net,web-services,iis,asmx,C#,Asp.net,Web Services,Iis,Asmx,调用IIS上托管的web服务(ASMX)时出现以下错误 无法加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Data”,版本=3.0.0.0,区域性=中性,PublicKeyToken=null 我已检查了bin文件夹中的Microsoft.Practices.EnterpriseLibrary.Data和所有依赖文件,它们都是版本5.0.414.0 另外,我已经在GAC上检查了这个文件是否存在,但没有这样的文件 我想知道这个版本3.0.0.0是从哪

调用IIS上托管的web服务(ASMX)时出现以下错误

无法加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Data”,版本=3.0.0.0,区域性=中性,PublicKeyToken=null

我已检查了bin文件夹中的Microsoft.Practices.EnterpriseLibrary.Data和所有依赖文件,它们都是版本5.0.414.0

另外,我已经在GAC上检查了这个文件是否存在,但没有这样的文件

我想知道这个版本3.0.0.0是从哪里来的。这个版本是在哪里定义的

我在整个IIS目录中搜索了word 3.0.0.0,但没有这样的单词

我已经检查过使用SOAP SONAR工具调用web服务

输出:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at ProcessData(String Number)
   --- End of inner exception stack trace ---</faultstring>
      <detail/>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

soap:服务器
System.Web.Services.Protocols.SoapException:服务器无法处理请求。--System.IO.FileLoadException:无法加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Data,版本=3.0.0.0,区域性=中性,PublicKeyToken=null”或其依赖项之一。定位的程序集清单定义与程序集引用不匹配。(来自HRESULT的异常:0x8013100)
在ProcessData(字符串编号)
---内部异常堆栈跟踪的结束---

所有其他环境都可以正常工作,但我们仅在一个客户端上面临此问题。由于DLL丢失错误,其未进入代码也就是说,我已检查

此特定客户端是否调用其他客户端未调用的操作?在我看来,仅仅一个客户端不太可能失败。是的,所有客户端的调用方法都是相同的。但是我想知道这个3.0.0.0版本在哪里获取和检查该版本的dll?