NetInverse Developers Blog

March 9, 2009
Category: .Net — Tags: , — admin @ 12:12 am

In case you see following error, you can bypass the .Net Strong name verification. 

Unhandled Exception: System.IO.FileLoadException: Could not load file
or assembly 'FunkyProg, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
Strong name validation failed. (Exception from HRESULT: 0x8013141A)

File name: 'FunkyProg, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' ---> System.Security.SecurityException:
Strong name validation failed. (Exception from HRESULT: 0x8013141A)

The Zone of the assembly that failed was:

MyComputer

You can use sn.exe to register <assembly> for verification skipping.

 sn -Vr <assembly> [<userlist>] [<infile>]

Or you can add following entry to the registry(you need to put the right public key token value).

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\StrongName\Verification\*,b77a5c561934e089]

b77a5c561934e08 is the PublicKeyToken for the assembly.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

©2009 NetInverse. All rights reserved. Powered by WordPress