Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run VFP EXE as a service - best practices?
Message
De
08/01/2016 16:34:31
Walter Meester
HoogkarspelPays-Bas
 
 
À
08/01/2016 15:41:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01629668
Message ID:
01629670
Vues:
91
>I haven't yet needed to run a VFP EXE as a service but I may need to do so in a Server 2012 R2 environment. Can anyone point me to resources that show:
>
>- What needs to be done
>- Things to be aware of/gotchas
>- How to install/uninstall
>- How to manage, if not with the Windows Service NET START/NET STOP commands
>
>There are some out of date resources such as
>
>http://blogs.msdn.com/b/calvin_hsia/archive/2004/12/13/282351.aspx
>http://www.tek-tips.com/faqs.cfm?fid=6355
>
>but they both rely on SrvAny.EXE which was present up to and including Server 2003, but is no longer present in Server 2008 and later.
>
>There is a product called AlwaysUp ( http://www.coretechnologies.com/products/AlwaysUp/Apps/RunVisualFoxProAsAWindowsService.html ) which claims to be able to run VFP EXEs as services. Is this a good option?

We have been using alwaysup for about 10 months now and very happy with it. If your services has a GIU, you can get show the GUI through always up (Session 0), which is a big bonus if your service does crash in the early stages of development.

Automatic restarts based upon CPU and memory usage, logging events, emailing upon restarts, etc. Its definitely worth the few bucks.


We have been using the srvany for a couple of years ( which BTW you still can use on newer servers), but after one of our services got crashed periodically we realized we needed a reliable solution to the problem. AlwaysUp will not disappoint you.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform