Jump to content

Recommended Posts

Posted

I have a 957 line script that runs great from commandline.

When I compile it (F7 or Ctrl-F7 - doesn't matter) it makes an exe.

When I run the exe I get an error that states:

The Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

I cannot find this error on the Web - I've searched, and maybe I'm searching wrong.

As stated, it works great from command line, but I have a need to get this to several workstations so that I am not a single point of failure.

My boss wants it done by yesterday, and I can't give it to him tomorrow if it won't compile.

You can find the File, it's Config File and the EXE <HERE>

Posted (edited)

I have a 957 line script that runs great from commandline.

When I compile it (F7 or Ctrl-F7 - doesn't matter) it makes an exe.

When I run the exe I get an error that states:

The Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

I cannot find this error on the Web - I've searched, and maybe I'm searching wrong.

As stated, it works great from command line, but I have a need to get this to several workstations so that I am not a single point of failure.

My boss wants it done by yesterday, and I can't give it to him tomorrow if it won't compile.

You can find the File, it's Config File and the EXE <HERE>

Everyone Meet: Mr. Broken-Link! Edited by JasonB
Posted

I have a 957 line script that runs great from commandline.

When I compile it (F7 or Ctrl-F7 - doesn't matter) it makes an exe.

When I run the exe I get an error that states:

The Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

I just discovered that if I rename the App to ANYTHING other than AutoUpdateTMC.exe (like AutoUpdateTMC1.exe) it runs.

That's weird!

Posted

I have a 957 line script that runs great from commandline.

When I compile it (F7 or Ctrl-F7 - doesn't matter) it makes an exe.

When I run the exe I get an error that states:

The Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

I cannot find this error on the Web - I've searched, and maybe I'm searching wrong.

As stated, it works great from command line, but I have a need to get this to several workstations so that I am not a single point of failure.

My boss wants it done by yesterday, and I can't give it to him tomorrow if it won't compile.

You can find the File, it's Config File and the EXE <HERE>

I've figured out the issue.

We have config files names PrgramName.exe.config - so follwoin the company standards I named the config AutoUpdateTMC.exe.config.

If I rename either the AutoUpdateTMC.exe or the AutoupdateTMC.exe.config to anything else it works.

So I decided to go back to conventional names and simply called the config AutoUpdateTMC.config and now it works fine.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...