# Signing problem on Vista 64

**URL:** <https://www.ruby-forum.com/t/signing-problem-on-vista-64/140620>\
**Category:** IronRuby\
**Created:** [June 16, 2008, 9:21pm UTC](https://www.ruby-forum.com/t/signing-problem-on-vista-64/140620 "2008-06-16T21:21:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stimpy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/779978/32.png) [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Post date:** [June 16, 2008, 9:21pm UTC](https://www.ruby-forum.com/t/signing-problem-on-vista-64/140620/1 "2008-06-16T21:21:13Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![stimpy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/779978/32.png) [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Post date:** [June 16, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/signing-problem-on-vista-64/140620/2 "2008-06-16T22:00:20Z")

</div>

Have you run it in 64bit cmd.exe?

Tomas

---

<div class="post-metadata">

**Author:** ![stimpy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/779978/32.png) [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Post date:** [June 16, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/signing-problem-on-vista-64/140620/3 "2008-06-16T22:08:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![stimpy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/779978/32.png) [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Post date:** [June 16, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/signing-problem-on-vista-64/140620/4 "2008-06-16T22:08:29Z")

</div>

Tomas M. wrote:

> Have you run it in 64bit cmd.exe?
> 
> Tomas

I tried it just now and got the same result.

---

<div class="post-metadata">

**Author:** ![stimpy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/779978/32.png) [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Post date:** [June 16, 2008, 11:04pm UTC](https://www.ruby-forum.com/t/signing-problem-on-vista-64/140620/5 "2008-06-16T23:04:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![stimpy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/779978/32.png) [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Post date:** [June 16, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/signing-problem-on-vista-64/140620/6 "2008-06-16T22:39:59Z")

</div>

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