[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VB.NET service error

Posted on 2011-10-18
7
Medium Priority
?
248 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:classnet
  • 4
  • 3
7 Comments
 
LVL 6

Expert Comment

by:regevha
ID: 36990457
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.
0
 

Author Comment

by:classnet
ID: 36991886
Turns out that it's just .exe files.
0
 
LVL 6

Expert Comment

by:regevha
ID: 36992004
Please explain in more detail and attach output of the command "set" from at least 2 PCs.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:classnet
ID: 36992043
Not so easy to do...  basically calling any .exe from my service renders the "no program is associated" error.
0
 
LVL 6

Expert Comment

by:regevha
ID: 36992107
Please run it from a command line window
0
 

Author Comment

by:classnet
ID: 36992695
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.
0
 
LVL 6

Accepted Solution

by:
regevha earned 2000 total points
ID: 37009583
I googled and found the following post on CNET forum
Seems the problem will be solved by updating the registry (I highly recommend to backup the registry before updating it). This post also explains how to open a Command Line window from the "XP Task Manager" (CTRL pressed + "File"->" New Task (Run)"
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question