Asp.net mvc 4 无法加载文件或程序集'\bin\ABCpdf8-64.dll';或者它的一个依赖项。模块应包含程序集清单

Asp.net mvc 4 无法加载文件或程序集'\bin\ABCpdf8-64.dll';或者它的一个依赖项。模块应包含程序集清单,asp.net-mvc-4,abcpdf,Asp.net Mvc 4,Abcpdf,我在尝试运行应用程序时收到以下错误消息 无法加载文件或程序集“bin\ABCpdf8-64.dll”或其依赖项之一。模块应包含程序集清单 请从FusionLog Viewer中查找以下完整详细信息 <meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre> **

我在尝试运行应用程序时收到以下错误消息

无法加载文件或程序集“bin\ABCpdf8-64.dll”或其依赖项之一。模块应包含程序集清单

请从FusionLog Viewer中查找以下完整详细信息

<meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre>
*** Assembly Binder Log Entry  (23/06/2015 @ 10:21:13) ***

The operation failed.
Bind result: hr = 0x80131018. No description available.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\Code\xxxxx\Branches\xxxxx\xxxxx\xxxxx\bin\ABCpdf8-64.dll
LOG: Appbase = file:///C:/Code/xxxxx/Branches/xxxxx/xxxxx/xxxxx/
LOG: Initial PrivatePath = C:\Code\xxxxx\Branches\xxxxx\xxxxx\xxxxx\bin
LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e0fbcc81
LOG: Cache Base = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e0fbcc81
LOG: AppName = 6bf02849
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Code\xxxxx\Branches\xxxxx\xxxxx\xxxxx\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///C:/Code/xxxxx/Branches/xxxxx/xxxxx/xxxxx/bin/ABCpdf8-64.dll.
LOG: Assembly download was successful. Attempting setup of file: C:\Code\xxxxx\Branches\xxxxx\xxxxx\xxxxx\bin\ABCpdf8-64.dll
LOG: Entering download cache setup phase.
ERR: Error extracting manifest import from file (hr = 0x80131018).
ERR: Setup failed with hr = 0x80131018.
ERR: Failed to complete setup of assembly (hr = 0x80131018). Probing terminated.

</pre></html><meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre>
*** Assembly Binder Log Entry  (23/06/2015 @ 10:21:13) ***

The operation failed.
Bind result: hr = 0x80131018. No description available.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\Code\xxxxx\Branches\xxxxx\xxxxx\xxxxx\bin\ABCpdf8-64.dll
LOG: Appbase = file:///C:/Code/xxxxx/Branches/xxxxx/xxxxx/xxxxx/
LOG: Initial PrivatePath = C:\Code\xxxxx\Branches\xxxxx\xxxxx\xxxxx\bin
LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e0fbcc81
LOG: Cache Base = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e0fbcc81
LOG: AppName = 6bf02849
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Code\xxxxx\Branches\xxxxx\xxxxx\xxxxx\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///C:/Code/xxxxx/Branches/xxxxx/xxxxx/xxxxx/bin/ABCpdf8-64.dll.
LOG: Assembly download was successful. Attempting setup of file: C:\Code\xxxxx\Branches\xxxxx\xxxxx\xxxxx\bin\ABCpdf8-64.dll
LOG: Entering download cache setup phase.
ERR: Error extracting manifest import from file (hr = 0x80131018).
ERR: Setup failed with hr = 0x80131018.
ERR: Failed to complete setup of assembly (hr = 0x80131018). Probing terminated.

</pre></html>

***装配活页夹日志条目(2015年6月23日@10:21:13)***
操作失败。
绑定结果:hr=0x8013108。没有可用的描述。
从以下位置加载的程序集管理器:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
在可执行文件c:\windows\system32\inetsrv\w3wp.exe下运行
---下面是详细的错误日志。
==预绑定状态信息===
LOG:ref绑定的地方。Location=C:\Code\xxxxx\branchs\xxxxx\xxxxx\bin\ABCpdf8-64.dll
日志:Appbase=file:///C:/Code/xxxxx/Branches/xxxxx/xxxxx/xxxxx/
日志:初始PrivatePath=C:\Code\xxxxx\branchs\xxxxx\xxxxx\xxxxx\bin
日志:Dynamic Base=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ASP.NET临时文件\root\e0fbcc81
日志:Cache Base=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e0fbc81
日志:AppName=6bf02849
正在调用程序集:(未知)。
===
日志:此绑定在LoadFrom加载上下文中启动。
警告:将不会在LoadFrom上下文中探测本机映像。本机映像将仅在默认加载上下文中进行探测,如Assembly.load()。
日志:使用应用程序配置文件:C:\Code\xxxxx\branchs\xxxxx\xxxxx\xxxxx\web.config
日志:使用主机配置文件:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
日志:使用C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config中的计算机配置文件。
日志:正在尝试下载新URLfile:///C:/Code/xxxxx/Branches/xxxxx/xxxxx/xxxxx/bin/ABCpdf8-64.dll。
日志:程序集下载成功。正在尝试设置文件:C:\Code\xxxxx\branchs\xxxxx\xxxxx\xxxxx\bin\ABCpdf8-64.dll
日志:进入下载缓存设置阶段。
错误:从文件中提取清单导入时出错(hr=0x80131018)。
错误:安装失败,hr=0x80131018。
错误:未能完成程序集的设置(hr=0x80131018)。调查结束了。
***装配活页夹日志条目(2015年6月23日@10:21:13)***
操作失败。
绑定结果:hr=0x8013108。没有可用的描述。
从以下位置加载的程序集管理器:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
在可执行文件c:\windows\system32\inetsrv\w3wp.exe下运行
---下面是详细的错误日志。
==预绑定状态信息===
LOG:ref绑定的地方。Location=C:\Code\xxxxx\branchs\xxxxx\xxxxx\bin\ABCpdf8-64.dll
日志:Appbase=file:///C:/Code/xxxxx/Branches/xxxxx/xxxxx/xxxxx/
日志:初始PrivatePath=C:\Code\xxxxx\branchs\xxxxx\xxxxx\xxxxx\bin
日志:Dynamic Base=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ASP.NET临时文件\root\e0fbcc81
日志:Cache Base=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e0fbc81
日志:AppName=6bf02849
正在调用程序集:(未知)。
===
日志:此绑定在LoadFrom加载上下文中启动。
警告:将不会在LoadFrom上下文中探测本机映像。本机映像将仅在默认加载上下文中进行探测,如Assembly.load()。
日志:使用应用程序配置文件:C:\Code\xxxxx\branchs\xxxxx\xxxxx\xxxxx\web.config
日志:使用主机配置文件:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
日志:使用C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config中的计算机配置文件。
日志:正在尝试下载新URLfile:///C:/Code/xxxxx/Branches/xxxxx/xxxxx/xxxxx/bin/ABCpdf8-64.dll。
日志:程序集下载成功。正在尝试设置文件:C:\Code\xxxxx\branchs\xxxxx\xxxxx\xxxxx\bin\ABCpdf8-64.dll
日志:进入下载缓存设置阶段。
错误:从文件中提取清单导入时出错(hr=0x80131018)。
错误:安装失败,hr=0x80131018。
错误:未能完成程序集的设置(hr=0x80131018)。调查结束了。
ABCpdf8-64.dll不是.NET程序集。它是一个本机DLL,将由ABCpdf.DLL调用,后者是.NET程序集


此错误消息向我表明,您试图将ABCpdf8-64.dll作为.NET程序集引用,可能是从web.config文件引用的。您应该改为引用ABCpdf.dll

确保您的bin文件夹中有
'\bin\ABCpdf8-64.dll'
。我已经在bin中有ABCpdf8-64.dll。确定,然后在
web.config
packages.config
中检查程序集信息。看到这个了吗-