Jump to content
Xtreme .Net Talk

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


Recommended Posts

Posted

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

Posted

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?

Posted (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

Edited by Unsafe
Posted
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.

Posted
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?
  • Administrators
Posted

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?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...