Strong name validation failed. (Exception from HRESULT: 0x8013141A)

If you come across this error:

{“Could not load file or assembly ‘TheAssemblyYouHaveReferenced’ or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)”:”TheAssemblyYouHaveReferenced’}

And you meet the following criteria

  • You are referencing a Delay Signed Dll in your project
  • Your OS is Win7 x64 or Vista x64
  • You have the messages mentioned above.

You can create a “MyDisableRegistryFile.reg” file with something like below:


Where 58845dcd9090cc91(Fictious Value :-)) is the PublicKeyToken. If you create this file you can run it on each deployment or machine as part of your install process.

It should be pointed out that disabling SN verification isnt very secure but you may have your own reasons.

Also beaware your dll thats causing the error may have referenced other dlls that may have the same problem, so you may have to do this multiple times.

Quick fix use C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\sn.exe if on X64 and combine with  -Vr <dllpath> if you want to disable verification too(-Vr is case sensitive). This is basically because sn.exe is 32bit and always returns success even in failure.

If you dont have the SDK installed for SN then get it here:

This blog has some more information too ->

Comments (4)

  1. Richard Lowe says:

    The link to Connect above is dead now, was this bug archived?  I cannot find it – the details might help resolve this issue (which I now have, too)

  2. keithmg says:

    Hey Richard, thanks for the message. I have edited the post with a smilar link which I think addresses the same issue.

  3. ehsan says:

    also you can use: sn.exe -Vr "dll path"

  4. granadaCoder says:

    Thanks.  You saved the developer day!