Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
>I have an application written using Visual studio 2005 (in VB.Net). When I run it on any machine I get "unable to find a version of the runtime to run this application” and this same application successfully some other PCs

And these following processes I have already done:
1. Repair and reinstall .net framework2.0
2. I also rebuild my application setup.
3. Scan my PC with antivirus and install new updated antivirus
4. Change the machine.config
5. Remove all dlls from my project so I ensure it no referential problem.
6. I have format my pc and reinstall dotnet framwork2.0 and my project.
7. I have download the .net framework clean up tools.
Posted

Is your application using .Net 3.0 by any chance? .Net 3 can run on VS2005.
 
Share this answer
 
Comments
paramesmca 7-Oct-10 1:22am    
no only i am using .Net 2.0
I would try a couple of things

1. Create an app with just a button on that displays a message box on when clicked

try running that

if that works then you are more than likely trying to reference a library of some sort that you haven't transfered across and I would then start to debug your code in sections using try catch blocks.

if the block catches an error then narrow it down.

2. in the project you can determine what framework you are using by going into the project properties and then on the publish tab click on prerequisites and it will show you the famework version its using

3. Google results
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900