Joseph Longo
asked on
c# runtime error
i have c# project that runs fine on my machine but when i move the .exe to a production server i get the following error:
Application: DAMAGES.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundExce ption
Stack:
at DAMAGES.Program.Main(Syste m.String[] )
what am i missing here?
any help would be greatly appreciated.
Application: DAMAGES.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundExce
Stack:
at DAMAGES.Program.Main(Syste
what am i missing here?
any help would be greatly appreciated.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
i have gotten further with this.
see attached file.
there is a .dll from another developer on my machine.
do i need to move this to the machine i am running this on?
right now, in the project, the GCTInternal dll is on my desktop.
program runs fine on my machine.
error:
Unhandled Exception: System.IO.FileNotFoundExce ption: could not load file or assembky 'GCTInternal, version4.1.4657.284, or one of its dependencies.
see attached file.
there is a .dll from another developer on my machine.
do i need to move this to the machine i am running this on?
right now, in the project, the GCTInternal dll is on my desktop.
program runs fine on my machine.
error:
Unhandled Exception: System.IO.FileNotFoundExce
ASKER
i resolved this by moving the dll to the target machine... to a path that matched my development machine path... in the service reference properties path...
is that the way you guys would do this?
i'll award points to everyone if you can give me a good project design answer.
-joe
is that the way you guys would do this?
i'll award points to everyone if you can give me a good project design answer.
-joe
ASKER
"To run this application, you must first install one of the following versions of the .NET framework."
the other IIS webserver is giving me problems right now trying to run any updates.
could this be my problem?
how do i tell which version of .NET my computer is running?
error.jpg