vs 2005 application will not run on windows 7 64 bit

I have an application that runs fine on my winxppro sp2 machine. When I copy it to my windows 7 64 bit machine it says the following error. The machine has .net framework 4.0 and from what I've read its downward compatible to 2.0. I just say the program has encoutered a problem. I've set my compiler to comile to 'any version'.

Description:
  Stopped working

Problem signature:
  Problem Event Name:      CLR20r3
  Problem Signature 01:      filerig.exe
  Problem Signature 02:      2010.0.0.0
  Problem Signature 03:      4d44f47b
  Problem Signature 04:      System
  Problem Signature 05:      2.0.0.0
  Problem Signature 06:      4a275e12
  Problem Signature 07:      38a9
  Problem Signature 08:      115
  Problem Signature 09:      System.Security.Security
  OS Version:      6.1.7600.2.0.0.256.1
  Locale ID:      1033

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
glenn_rAsked:
Who is Participating?
 
CodeCruiserConnect With a Mentor Commented:
> Problem Signature 09:      System.Security.Security

That say's something? Are you using any external components? Are you using Jet (Access)?
0
 
APoPhySptConnect With a Mentor Commented:
Having the 4.0 framework is not enough... you should install the 'Microsoft .NET Framework Version 2.0' anyway..
link here:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6523


cheers
0
 
glenn_rAuthor Commented:
Weird, i right clicked ran as administrator then uncheck run as administrator and it worked. Rebooted and it still works. Not sure why. Framework 4 only installed. This is a vb 2005 2.0 project and it works. Thanks anyway.
0
 
glenn_rAuthor Commented:
aaa
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.