Click here to Skip to main content
Sign Up to vote bad
good
See more: C#Console
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 16-Nov-12 0:07am
Edited 18-Nov-12 22:20pm

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.
ryanb31 - 16-Nov-12 10:07am
What's the error?

2 solutions

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.
  Permalink  
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
  Permalink  
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
Your Filters
Interested
Ignored
     
0 Christian Graus 514
1 Ron Beyer 296
2 OriginalGriff 248
3 samadhan_kshirsagar 229
4 Tadit Dash 213
0 Sergey Alexandrovich Kryukov 7,017
1 Prasad_Kulkarni 3,815
2 OriginalGriff 3,557
3 _Amy 3,372
4 CPallini 3,010


Advertise | Privacy | Mobile
Web02 | 2.6.130617.1 | Last Updated 19 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid