Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launching External EXEs
Message
From
30/12/2005 14:03:44
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
C# 2.0
Database:
MS SQL Server
Miscellaneous
Thread ID:
01082026
Message ID:
01082112
Views:
11
>Hi all,
>
>I have a VFP exe that runs a process (it doesn't have any UI). I need this exe to reside on a server and run in the servers memory space, using the server's processing power. Multiple copies of this exe could be running at any given time processing different records in some tables. Can I create a web service that will add the necessary data to some tables, then launch the exe (in its own process) and return (without waiting on the exe)? What kind of security issues will this pose (running the exe, that is)? This will be on an intranet server with no outside access. Is there a better way to remotely launch an exe on demand?
>
>TIA,
>Chad

Chad,

It's better to wrap the VFP application as a Windows Service. With a Windows Service, you have more control over CPU utilization and error reporting (via the Event Log).

Now that I think a moment about it, launching various background VFP applications on a server is a really bad idea. The processes could potentially consume 100% of the server's resources. Once this happens, your only option is to jump in a car and perform a hard-reboot of the server.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform