Signing problem on Vista 64

I’m having a problem running r114 on Vista 64. I did run the
runfirst.cmd This is the exception I get:

Unhandled Exception: System.IO.FileLoadException: Could not load file or
assembly ‘ir, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. Strong name
validation failed. (Exception from HRESULT: 0x8013141A)
File name: ‘ir, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35’ —> System.Security.SecurityException:
Strong name validation failed. (Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
MyComputer

Any ideas?

Have you run it in 64bit cmd.exe?

Tomas

To elaborate on this a little, the 64-bit versions of Windows basically
have two copies of the registry – one for 32-bit programs and one for
64-bit programs. If you’ve run “sn.exe -Vr” from the “Visual Studio
2008 Command Prompt”, you will end up running the 32-bit version of the
program which will update the 32-bit key that controls strong name
verification – but will not update the 64-bit key. If you run sn.exe
from the x64 version of Visual Studio Command Prompt, you will get the
64-bit executable which will therefore update the 64-bit version of the
registry.

Tomas M. wrote:

Have you run it in 64bit cmd.exe?

Tomas

I tried it just now and got the same result.

Tomas M. wrote:

What do you get if you run “sn -Vl” on 32bit and 64bit command lines?

The problem was I was not running the 64 bit sn, as Curt described.
It’s working now.

Thanks for the help.

What do you get if you run “sn -Vl” on 32bit and 64bit command lines?