Unsafe Posted March 23, 2007 Posted March 23, 2007 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 Quote
Eduardo Lorenzo Posted March 23, 2007 Posted March 23, 2007 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? Quote
Unsafe Posted March 23, 2007 Author Posted March 23, 2007 (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 March 23, 2007 by Unsafe Quote
Eduardo Lorenzo Posted March 23, 2007 Posted March 23, 2007 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. Quote
Unsafe Posted March 23, 2007 Author Posted March 23, 2007 Yup tried that as well :( still does the same Quote
Eduardo Lorenzo Posted March 23, 2007 Posted March 23, 2007 Yup tried that as well :( still does the same Does the app access anything other than dlls that could be exclusive to your machine? Quote
Unsafe Posted March 23, 2007 Author Posted March 23, 2007 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? Quote
Administrators PlausiblyDamp Posted March 23, 2007 Administrators Posted March 23, 2007 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? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Eduardo Lorenzo Posted March 23, 2007 Posted March 23, 2007 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.