无法加载文件或程序集'\ bin \ ABCpdf8-64.dll'或其依赖项之一.该模块应包含一个程序集清单 [英] Could not load file or assembly '\bin\ABCpdf8-64.dll' or one of its dependencies. The module was expected to contain an assembly manifest

查看:115
本文介绍了无法加载文件或程序集'\ bin \ ABCpdf8-64.dll'或其依赖项之一.该模块应包含一个程序集清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试运行该应用程序时,出现以下错误消息.

I have getting the following error message when I try to run the application.

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

Could not load file or assembly 'bin\ABCpdf8-64.dll' or one of its dependencies. The module was expected to contain an assembly manifest.

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

Please find below full details from 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>

推荐答案

ABCpdf8-64.dll是.NET程序集 NOT .它是一个本机DLL,将由ABCpdf.DLL调用,它是.NET程序集.

ABCpdf8-64.dll is NOT a .NET assembly. It is a native DLL, which will be called by ABCpdf.DLL, which is the .NET assembly.

此错误消息向我建议您尝试将ABCpdf8-64.dll作为.NET程序集引用,也许是从您的web.config文件中引用的.您应该改为引用ABCpdf.dll.

This error message suggests to me that you tried to reference ABCpdf8-64.dll as a .NET assembly, perhaps from your web.config file. You should instead reference ABCpdf.dll.

这篇关于无法加载文件或程序集'\ bin \ ABCpdf8-64.dll'或其依赖项之一.该模块应包含一个程序集清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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