Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created some windows console application using C# code. After buidling the application.

.exe file runs successfully on machine where application is built, the same .exe file i am trying to run on some other machine it is throwing unhandled exception.

Please can any one help me to resolve this issue.

Error: Unable to run some function present in dll which is referring with this exe.

P.S: i cant post error message here as it is IP voilation.
Posted
Updated 18-Nov-12 22:20pm
v3
Comments
Timberbird 16-Nov-12 6:10am    
Add more details about the exception, machine configuration, .NET version, config files used etc
Abhishek Pant 16-Nov-12 6:18am    
you need to install .net framework 4.5 if it was built through by visual studio.
ZurdoDev 16-Nov-12 10:07am    
What's the error?

There're two things possible:

  1. .NET is installed on the other machine, but a too old version.
    You can try to install the latest version of .NET on the other machine, or set the Target Framework in your project file to a older version.
  2. .NET isn't installed on the other machine. You need to install the .NET Framework on the other machine.

If your other machine runs Windows 7, the .NET Framework 4.0 is installed by default, on a Windows 2008 R2 machine, the .NET 3.5 is installed by default and on a Vista machine and a Windows 2008 machine, the .NET Framework 3.0 is installed by default.
 
Share this answer
 
Comments
Suraj S Koneri 19-Nov-12 4:19am    
Error is not related to .NET framework versions, anyways thanks for answer
I am willing to bet this is C# not C, and that you need to install .NET on the target machine. Please tag your questions correctly
 
Share this answer
 
Comments
Suraj S Koneri 19-Nov-12 4:19am    
Error is not related to .NET framework versions, anyways thanks for answer
Abhishek Pant 19-Nov-12 4:24am    
then will you tell us whats the error!

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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