Could not load Assembly

D

Doctorslicer

Hi All,

We have a large multi project application in MFC that we are
converting to managed code. We have been able to add /CLR to all of
the projects and have compiled successfully but encounter an exception
when loading one of our Extension DLL's.

'OurApp.exe' (Managed): Loaded '...\Debug\DLL1.dll', Symbols loaded.
'OurApp.exe' (Managed): Loaded '...\Debug\DLL2.dll', Symbols loaded.
First-chance exception at 0x7c812a5b in OurApp.exe: Microsoft C++
exception: EETypeLoadException at memory location 0x0012d4a8..
First-chance exception at 0x7c812a5b in OurApp.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x7c812a5b in OurApp.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x7c812a5b in OurApp.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x7c812a5b in OurApp.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x7c812a5b in OurApp.exe: Microsoft C++
exception: [rethrow] at memory location 0x00000000..
A first chance exception of type 'System.IO.FileLoadException'
occurred in OurApp.exe
An unhandled exception of type 'System.IO.FileLoadException' occurred
in OurApp.exe

Additional information: Could not load file or assembly 'DLL3,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. Could not find or load a type. (Exception from HRESULT:
0x80131522)

The exception occurs when trying to create an object defined in DLL3.

Any help would be greatly appreciated.

Thanks,

Terry
 
D

Doctorslicer

I found out the problem. The Assembly wouldn't load because there are
to many symbols.

I enabled /GF pools strings as read-only and it runs fine in Debug.

Thanks for listening.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top