473,327 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Strong name validation failed ... only on one person's computer!

Hi all,

I have a VB.NET application distributed to all employees in our
company, and only one person's PC is having problems with it. After a
restart of her computer, the next time she runs my app she gets the
message:

.....exe - Strong name validation failed.
Strong name validation failed for assembly '...'. The file may have
been tampered with or it was partially signed but not fully signed with
the correct private key.

If we uninstalled and reinstalled the msi, the app would run fine for
the rest of the day, until she restarted and tried again in the
morning. One thing I noticed today (when the program was giving the
error) was the exe's file size on her computer was different than on
mine, but when I copied her exe to a network drive so I could bring it
back to my computer and look into it, the file size became the same as
on my computer, and when I compared the files they were identical. I
replaced the exe on her computer with the one on mine and the program
runs fine, so I think it is safe to say the problem is isolated in the
executable, and does not have to do with any of the dll's in the GAC.

Any ideas of what's wrong or what to look into next would be greatly
appreciated.

Thanks!
Kevin

Jul 21 '05 #1
1 2601
Two things

- Mutating executables can be a sign of an infected system with virus.
- Although not an elegant solution, you can turn off verfication of the
signature on that specific pc using the following command:

sn -Vr myAssembly.dll

-Al
WireFactor Software Ltd.
http://www.wirefactor.com

Kevin wrote:
Hi all,

I have a VB.NET application distributed to all employees in our
company, and only one person's PC is having problems with it. After a restart of her computer, the next time she runs my app she gets the
message:

....exe - Strong name validation failed.
Strong name validation failed for assembly '...'. The file may have
been tampered with or it was partially signed but not fully signed with the correct private key.

If we uninstalled and reinstalled the msi, the app would run fine for
the rest of the day, until she restarted and tried again in the
morning. One thing I noticed today (when the program was giving the
error) was the exe's file size on her computer was different than on
mine, but when I copied her exe to a network drive so I could bring it back to my computer and look into it, the file size became the same as on my computer, and when I compared the files they were identical. I
replaced the exe on her computer with the one on mine and the program
runs fine, so I think it is safe to say the problem is isolated in the executable, and does not have to do with any of the dll's in the GAC.

Any ideas of what's wrong or what to look into next would be greatly
appreciated.

Thanks!
Kevin


Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

53
by: dterrors | last post by:
Will php 6 do strong typing and/or namespaces? I was shocked to find out today that there are some people who actually argue that weak typing is somehow better. I didn't even know there was a...
0
by: Abhishek Shrivastava | last post by:
Hi, I have Windows 2000 Server with all updates, installed VisualStudio.NET 2003 Enterprise Developer Edition. It installed OK but if I try to add New Item with Data Form Wizard for a windows...
67
by: Scott Meyers | last post by:
I have a web site that, due to maintenance by several people, some of whom are fairly clueless about HTML and CSS, etc. (notably me), has gotten to the point where I'm pretty sure it's suffering...
6
by: Kimmo Laine | last post by:
Hi, we are using COM server through interop, and would like to sign our assembly with strong name. But when building, we get the following error: "Assembly generation failed -- Referenced...
1
by: Kevin | last post by:
Hi all, I have a VB.NET application distributed to all employees in our company, and only one person's PC is having problems with it. After a restart of her computer, the next time she runs my...
0
by: wan | last post by:
Hi, Any idea of why a proper running Application in VS 2003 , could not run after converted to VS 2005 with the error "Could not load file or assembly , . Strong name validation failed".... The...
8
by: per9000 | last post by:
Dear readers, I have some problems with strong keys. What I want to do is basically this. A - create an application (f.x. strongHello.dll) with a strong key. B - import the functions of this...
0
by: Sehboo | last post by:
I posted this in another group also, and now want to try my luck here... We are using enterprise library (EL) in our application. We want to upgrade our application from .net 1.1 to .net 2.0. ...
1
by: Tom | last post by:
My unsigned DLL works in my project that references it as long as I set Copy Local = true. Now I have signed the DLL with the sn.exe generated keys but have not yet moved the DLL into the GAC. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.