Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / August 2007

Tip: Looking for answers? Try searching our database.

Could not load Assembly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Doctorslicer - 09 Aug 2007 15:51 GMT
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
Doctorslicer - 09 Aug 2007 19:25 GMT
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.

> Hi All,
>
[quoted text clipped - 34 lines]
>
> Terry

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.