该模块应包含一个程序集清单. (来自HRESULT的异常:0x80131018) [英] The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)

查看:1746
本文介绍了该模块应包含一个程序集清单. (来自HRESULT的异常:0x80131018)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生们...

我创建了一个在运行时加载插件(DLL)的系统.一切正常.我在15台计算机上安装了该系统,并添加了插件,并且13台计算机都未发生错误,一切正常.

两台机器均因该错误拒绝了插件.

Dear Sirs...

I created a system that loads a plugin (DLL) at runtime. Everything works perfectly fine. I installed this system on 15 machines , and added the plug in and no error happened for 13 machines and everything worked as expected.

Two machines rejected the plugin with this error.

The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)



正如我之前所说,在13台计算机上一切正常之前.只有两台机器触发这种错误.

对这个错误有任何想法吗?


谢谢.


其中一台计算机是Win7,另一台计算机是win xp,我使用的是.net 3.5.其他13台运行exe且没有问题的计算机都具有win7,xp和vista.

[/Edit]



as I said before everything works perfectly fine on 13 machines. Only two machines are triggering this kind of error.

any idea regarding this error?


thank you.


One of the machines is Win7, the other is win xp, and I am using .net 3.5. The other 13 machines which are running the exe without problem, has win7, xp, and vista.

[/Edit]

推荐答案

一个快速的Google建议,当存在与托管DLL具有相同名称的本机代码DLL时,就会发生这种情况. 尝试更改您的名字,看看它是否消失.

A quick Google suggest that this occurs when there is a native code DLL of the same name as a managed DLL.
Try changing the name of yours and see if it goes away.

http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=The+module+was+expected+to+contain+an+assembly+manifest.+(Exception+from+HRESULT:+0x80131018)[^]


这篇关于该模块应包含一个程序集清单. (来自HRESULT的异常:0x80131018)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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