Re: Console application will only run on machine where application was compiled

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Mar 27, 1:17 pm, Rory Becker <RoryBec...@xxxxxxxxxxxxxxxx> wrote:
I have written a simple console application that will only run on my
machine. I can run the application outside of the IDE, but on other
units I get a message that the system cannot execute the command.

I installed VS 2005 on another computer to see if there was some kind
of dependency problem but this did not help.

I created a new project and compiled it with all of the default
options, no luck.

The program compiles fine and executes without any errors on my
computer. This tells me that I have some type of a dependency issue,
the question is where do I look to find the problem?

What error message(s) do you see on the "Other" machines?
What OS are the "Other" machines?
Is the Dotnet Framework (v2.0) installed on the "Other " machines?

--
Rory

Windows XP and Windows Server 2003. I know for certain that one of the
units has .Net 2.0. The others supposedly do but I have not verified.

The message is "The system cannot execute the command" or close to
that. I am not at my office where I can give the exact error message.
If I double click the app in Windows explorer, I get a message that
indicates the configuration for the application is not correct.


.



Relevant Pages

  • Re: RPC Call
    ... >>> I have administrative rights to all of my machines on my network. ... I need to send an RPC command to my ... >>> machines in order to execute this application. ...
    (microsoft.public.win32.programmer.networks)
  • I/O redirection problem
    ... The command that I execute is: ... I execute it on two machines that have same environment(same OS, ... What are the possible factors that make the command work? ...
    (comp.unix.questions)
  • Re: RPC Call
    ... >> I have administrative rights to all of my machines on my network. ... I need to send an RPC command to my ... >> machines in order to execute this application. ...
    (microsoft.public.win32.programmer.networks)
  • Re: RPC Call
    ... > I have administrative rights to all of my machines on my network. ... I need to send an RPC command to my ... > machines in order to execute this application. ...
    (microsoft.public.win32.programmer.networks)
  • Summary: Changes to mv in upgrade from 5.1 to 5.1b?
    ... Tim was able to duplicate this bug on his own machines testing between 5.1 ... As far as whether this was an intentional change on HP's part or a bug, ... Some of our scripts are now failing with the "mv" command with an error I ...
    (Tru64-UNIX-Managers)