Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launching External EXEs
Message
De
30/12/2005 14:03:44
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
C# 2.0
Database:
MS SQL Server
Divers
Thread ID:
01082026
Message ID:
01082112
Vues:
10
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform