Application does not launch on any other machines apart from development one

Unsafe

Newcomer
Joined
Dec 17, 2006
Messages
5
Hello,

I have created a application using Visual Studio 2005, The application runs fine on my machine (The one it was developed on) but not on any others. On other machines the when you launch the application the exe stays running (You can see it in task manager) and it runs with a very high CPU usage (60 / 70 %). I think it could be something to do with the references (DLL files) but i have tried all i know to fix that and im still having no luck :(. Is there any common causes that cause this?

Thank You
 
Please forgive me for answering your question with more questions.

1. How did you transfer the exe file from your machine?
2. Does your application have a reference to a DLL or component available only in your machine?
3. Does the second machine have the .Net framework installed properly?
 
1. I used the publish tool in VS 2005
2. No, Well not certain but I just tried to put all the reference's into C:\ and references them from there but still same problem.
3. Yes

Thanks
 
Last edited:
1. I used the publish tool in VS 2005
2. No, Well not certain but I just tried to put all the reference's into C:\ and references them from there but still same problem.
3. Yes

Thanks

1. Did you install the exe file? Try copying everything in the bin folder.
 
It does access other DLL's but I have copied them to other computers in the appropriate directory's (I think) is there anyway to tell if the DLLs cannot be found, Wouldn't that give me a a error of some kind?
 
Are there any differences in operating systems (including service packs) between the PCs in question? Are they all running the same version of the framework?

If you are accessing Dlls that aren't part of the framework are they all present (and the same versions)? If these other Dlls are from a 3rd party how were they installed on your development PC? Have you tried installing them on the client PC in the same manner?
 
It does access other DLL's but I have copied them to other computers in the appropriate directory's (I think) is there anyway to tell if the DLLs cannot be found, Wouldn't that give me a a error of some kind?

well that would depend on how the DLL is used in your application.
just for good measure, I suggest you create a distribution package or a setup package and install that to the second machine.

P.D. might be on the dot with the OS and SPs issue.

if all else fails. :D
 
Back
Top