我收到以下错误(IIS 8 WINDOWS SERVER 2012)。有人请帮助我.. !! [英] I am getting the below error(IIS 8 WINDOWS SERVER 2012).Can someone please help me..!!

查看:70
本文介绍了我收到以下错误(IIS 8 WINDOWS SERVER 2012)。有人请帮助我.. !!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

'/'应用程序中的服务器错误。

------------------------------- ------------------------------------------------- < br $>




配置错误

描述:处理为此请求提供服务所需的配置文件时发生错误。请查看下面的具体错误详细信息并相应地修改配置文件。



分析器错误消息:无法加载文件或程序集'IBM.Data.DB2,Version = 8.1.2.1,Culture = neutral,PublicKeyToken = 7c307b91aa13d208'或其中一个它的依赖关系。定位的程序集的清单定义与程序集引用不匹配。 (HRESULT异常:0x80131040)



来源错误:







第50行:< add assembly =System.Xml,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = B77A5C561934E089>

第51行:< add assembly =System.Data,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = B77A5C561934E089>

第52行:< add assembly =IBM.Data.DB2,Version = 8.1 .2.1,Culture = neutral,PublicKeyToken = 7C307B91AA13D208>

第53行:< add assembly =System.EnterpriseServices,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = B03F5F7F11D50A3A>

第54行:< add assembly =IBM.Data.DB2,Version = 9.0.0.2,Culture = neutral,PublicKeyToken = 7C307B91AA13D208>





源文件:C:\inetpub \ZConRep \web.config行:52



装配加载跟踪:以下信息有助于确定程序集IBM.Data.DB2,V的原因ersion = 8.1.2.1,Culture = neutral,PublicKeyToken = 7c307b91aa13d208'无法加载。







WRN:程序集绑定日志记录已关闭。

要启用程序集绑定失败日志记录,请将注册表值[HKLM \Software\Microsoft \Fusion!EnableLog](DWORD)设置为1。 br />
注意:程序集绑定失败日志记录会导致性能损失。

要关闭此功能,请删除注册表值[HKLM \Software \ Microsoft \\\\\\\\ !EnableLog]。

解决方案

看起来你需要在文件IBM.Data.DB2中添加ref。将此dll文件添加到bin文件夹并再次构建项目并在服务器上更新这些文件。它应该解决你的问题。


Server Error in '/' Application.
--------------------------------------------------------------------------------


Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'IBM.Data.DB2, Version=8.1.2.1, Culture=neutral, PublicKeyToken=7c307b91aa13d208' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:



Line 50: <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
Line 51: <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
Line 52: <add assembly="IBM.Data.DB2, Version=8.1.2.1, Culture=neutral, PublicKeyToken=7C307B91AA13D208">
Line 53: <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">
Line 54: <add assembly="IBM.Data.DB2, Version=9.0.0.2, Culture=neutral, PublicKeyToken=7C307B91AA13D208">


Source File: C:\inetpub\ZConRep\web.config Line: 52

Assembly Load Trace: The following information can be helpful to determine why the assembly 'IBM.Data.DB2, Version=8.1.2.1, Culture=neutral, PublicKeyToken=7c307b91aa13d208' could not be loaded.



WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

解决方案

Looks like you need to add ref to the file IBM.Data.DB2. add this dll files to your bin folder and build your project again and update these files on the server. it should solve your issue.


这篇关于我收到以下错误(IIS 8 WINDOWS SERVER 2012)。有人请帮助我.. !!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆