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 / Visual Studio.NET / Setup / January 2007

Tip: Looking for answers? Try searching our database.

System.IO.FileLoadException : strong name validation failed for assembly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ben - 21 Nov 2004 15:50 GMT
Hello
I have a problem when I am trying to istall a MSI upgrde file.
When I install this file when its not an upgrade it works just fine.
The problem takes plcae when a previous version of my application is
installed and I am trying
to instal an Upgrade.
In the Middle of the Upgrade installation i get this exception :
System.IO.FileLoadException : strong name validation failed for assembly
<filename.dll>
when filename is the name of one of my dll's that holds some Custom code
(install,uninstall,rollback,commit) for one of my MSM's.

maybe someone know what can be the problem ???

Thanks
Phil Wilson - 21 Nov 2004 21:05 GMT
I think this happens when you have custom actions that are running as your
older version uninstalls, and the install is trying to call install custom
actions in another copy of the same assembly. I'm not sure that the message
is accurate, but it seems to be related to the install and uninstall both
trying to load what is the "same" assembly into the same AppDomain to call
custom actions. If the assembly naming attributes are identical in old and
new versions, what happens if you change the assemblyversion in the new
version of the product?
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Hello
> I have a problem when I am trying to istall a MSI upgrde file.
[quoted text clipped - 11 lines]
>
> Thanks
Ben - 22 Nov 2004 08:05 GMT
Phil Hello

I tried to change the assemblyversion in each CA file.
I also changed the names of the CA's Classes and Namespcae
but there is no change ...
I still get that annoying message.

Do you have any other suggestions ???

waiting to hear from you
Ben
>I think this happens when you have custom actions that are running as your
>older version uninstalls, and the install is trying to call install custom
[quoted text clipped - 19 lines]
>>
>> Thanks
Sergey Pikhulya - 12 Jan 2005 16:36 GMT
Hi,

I have the same problem. Have you found resolution for this problem?
Naor - 07 Jan 2007 10:12 GMT
Hi.
I've encountered with the same issue as Ben did.
It was long time ago, is there a solution to this issue?

Thanks,
Naor

From http://www.developmentnow.com/g/58_2004_11_0_0_25697/System-IO-FileLoadException
-strong-name-validation-failed-for-assembly.ht


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.