473,372 Members | 951 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,372 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 2604
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. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.