Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
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.

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


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.

[Edit further information from OP]
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]
Posted
Updated 10-Mar-11 4:58am
v2
Comments
thatraja 10-Mar-11 10:41am    
which language? .NET? vb? please complete the question & clearly
Member 7742860 10-Mar-11 10:44am    
Yes I am using VB.NET to develop the application. But the error is triggered by the installed exe.

thank you.
Henry Minute 10-Mar-11 10:43am    
Also which OS on each machine which version of the .NET Framework.
Member 7742860 10-Mar-11 10:46am    
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.

1 solution

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)[^]
 
Share this answer
 
Comments
Henry Minute 10-Mar-11 10:48am    
Good find!
Member 7742860 10-Mar-11 10:52am    
Dear Sir,

thanks for the answer, I already googled and found such answer. I have no native and managed DLL working togather, also, the same exact application works fine on 13 machines.

so this still don't answer my question.

thank you
OriginalGriff 10-Mar-11 10:53am    
No, but do the two machines it doesn't work on know that?
If they have a unmanaged DLL of the same name installed by another program...
Member 7742860 10-Mar-11 10:57am    
They don't have another DLL with the same name simply because I am the one who created the DLL, so I am totally sure that this is not what is causing the issue.

thank you.
OriginalGriff 10-Mar-11 11:04am    
Yes, but did you install all the software on those machines? Could another application have installed a DLL of the same name?
It would explain the difference between the 2 and the 13

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900