简体   繁体   English

无法在WCF中加载文件或程序集'Microsoft.Practices.EnterpriseLibrary.Common

[英]Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common in WCF

I am trying use EnterpriseLibrary Version=5.0.414.0,in my WCF service.But it throwing run time error while executing Logger.Write(log) method.Error Detailed is 我正在WCF服务中尝试使用EnterpriseLibrary Version = 5.0.414.0。但是在执行Logger.Write(log)方法时会抛出运行时错误。

Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0 无法加载文件或程序集'Microsoft.Practices.EnterpriseLibrary.Common,版本= 5.0.414.0

Anyone have idea? 有人知道吗?

Yes. 是。 The application was built to make use of the Microsoft Enterprise Library version 5.0. 该应用程序是为利用Microsoft Enterprise Library 5.0版而构建的。 Normally, this should be installed by the installation that installed the dependent software. 通常,应通过安装相关软件的安装程序进行安装。

You can manually download and install Microsoft Enterprise Library at this link: Download Microsoft Enterprise Library . 您可以通过以下链接手动下载并安装Microsoft Enterprise Library: 下载Microsoft Enterprise Library

Once that is done, your software should function nominally. 完成后,您的软件应会正常运行。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Common”或其依赖项之一 - Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common' or one of its dependencies 无法加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Common,Version=6.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35”或 - Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or 无法解决此参考。 无法找到程序集“ Microsoft.Practices.EnterpriseLibrary.Common” - Could not resolve this reference. Could not locate the assembly “Microsoft.Practices.EnterpriseLibrary.Common” 无法加载文件或程序集Microsoft.Practices.EnterpriseLibrary.Configuration - Could not load file or assembly Microsoft.Practices.EnterpriseLibrary.Configuration “无法加载文件或程序集'Microsoft.Practices.EnterpriseLibrary.Validation”异常 - “Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Validation” exception 无法加载文件或程序集'Microsoft.Practices.EnterpriseLibrary.Logging - Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging 无法加载文件或程序集'Microsoft.Practices.EnterpriseLibrary.Caching - Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Caching '您必须添加对Microsoft.Practices.EnterpriseLibrary.Common的引用',即使汇编在GAC中 - 'You must add a reference to Microsoft.Practices.EnterpriseLibrary.Common' even though assembly is in the GAC C#无法加载文件或程序集'Microsoft.Practices.EnterpriseLibrary.Logging - C# Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging Microsoft.Practices.EnterpriseLibrary.Common在IIS 8.5中不起作用,但它在IIS 7.0中工作 - Microsoft.Practices.EnterpriseLibrary.Common is not working in IIS 8.5 but its working in IIS 7.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM