?
Solved

FileLoadException

Posted on 2006-05-18
4
Medium Priority
?
342 Views
Last Modified: 2009-12-16
Hi,

I have a working solution with VC2003, but now I have converted to VC2005 and my projekt doesn't work any more!

This is the dependecy list

unmanaged.dll
     |
managed.dll
     |
myprog.exe

Compilation works fine, but when the application starts it throws a FileLoadExction
Could not load file or assembly 'DBCWrapper, Version=1.0.2329.23361, Culture=neutral, PublicKeyToken=f0b2adc0986c474e' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

What is wrong, what should I do?
I have all files in correct folders!
thanks in advance Patrik
0
Comment
Question by:patti_nyl
1 Comment
 
LVL 49

Accepted Solution

by:
DanRollins earned 1000 total points
ID: 16716579
A lot of google groups threads mention this error:
   http://groups.google.com/groups?hl=en&q=%22Strong%20name%20validation%20failed%22
and EE threads also:
   http://search.experts-exchange.com/search.jsp?query=%22Strong+name+validation%22

Several of the google groups threads recommend using a utility named Sn to validate the DLL and it appears to also be able to turn off verification (as one way to avoid the error).
    Delay Signing an Assembly
    http://msdn.microsoft.com/library/en-us/cpguide/html/cpcondelayedsigningassembly.asp
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question