[Opensim-dev] Loading DLL files - BadImageFormatException

Gajananan Kugamoorthy gajananan_k at yahoo.com
Wed Aug 25 01:17:48 UTC 2010


Hello Justin,

Thanks a lot for your reply. We found out that , we were loading some of our 
dlls that are placed in  the  OpenSim bin folder as follow
 Assembly loadedAssembly = Assembly.LoadFrom(path + "\\" + dllName);

However, this line of code also try to load the dlls of OpenSim (which is in our 
case not needed) as we did not have a mechanism to choose only our dlls and load 
them. This was happening in old version, however this  exception was not thrown 
for some reason.
Hope my explanation gives some idea of the original problem. Anyway the problem 
is just a minor irritation in the log file  :).

Thank you for your time.

Best
Gajan





________________________________
From: Justin Clark-Casey <jjustincc at googlemail.com>
To: opensim-dev at lists.berlios.de
Sent: Tuesday, August 24, 2010 22:36:38
Subject: Re: [Opensim-dev] Loading DLL files - BadImageFormatException

On 23/08/10 02:38, Gajananan Kugamoorthy wrote:
> Hello OpenSim Developers,
>
>
> I have been trying to use the latest version of OpenSim (0.7 & 0.7.01) ,
> I got the warning in one of the function call that load the DLLs of my
> project. OpenSim does not crash. However I would like to know what is
> wrong as I did not have this problem with the previous versions of OpenSim.

Not sure - I haven't seen this issue with running 0.7 or 0.7.0.1 on Windows 
myself.

As you've found out - it's not fatal.  The library is only used by an old, 
optional module that saves region data to 

Subversion.

-- 
Justin Clark-Casey (justincc)
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20100824/188ea798/attachment-0001.html>


More information about the Opensim-dev mailing list