Link to home
Start Free TrialLog in
Avatar of Sheldon Livingston
Sheldon LivingstonFlag for United States of America

asked on

VB.NET service error

Created a Windows service in VS 2005 VB.NET.

This service allows me to run other programs via the process.start function.

It runs on XP just fine.

I have one XP computer that running an .exe via the process.start routine causes a "there isn't an application associated with" error.

I've uninstalled all the frameworks and reinstalled with no joy.
Avatar of regevha
regevha

Does running the same exe from the command line works fine on the specific PC ?
 
Try comparing the PATH Windows environment settings on your PCs.
Avatar of Sheldon Livingston

ASKER

Turns out that it's just .exe files.
Please explain in more detail and attach output of the command "set" from at least 2 PCs.
Not so easy to do...  basically calling any .exe from my service renders the "no program is associated" error.
Please run it from a command line window
Run from the command line... via the service I get the no application error.  Realize that this service is running successfully on several other machines.
ASKER CERTIFIED SOLUTION
Avatar of regevha
regevha

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial