Launch external Application
I am launching a .net 2 application when a check goes down. I have to do this since I can not get the built in SMS to work with Verizon.
The exe will launch but when it looks for a dependant file it goes to the c:windowssystem32 folder instead of the folder that hosts the application. It works fine if I launch the application not via servers check. The monitoring service is running as a local service interacting with the desktop (this is how I can see the unhandled error). It does not make any difference if I change this to an admin account or have it not interacting with the desktop.
I am running version 6.6.0.
Thanks
The exe will launch but when it looks for a dependant file it goes to the c:windowssystem32 folder instead of the folder that hosts the application. It works fine if I launch the application not via servers check. The monitoring service is running as a local service interacting with the desktop (this is how I can see the unhandled error). It does not make any difference if I change this to an admin account or have it not interacting with the desktop.
I am running version 6.6.0.
Thanks
This discussion has been closed.
Comments
You can easily solve this by having a batch file launched that first does a CD to the relevant directory and then executes the app.