Site hosted by Angelfire.com: Build your free website today!
 

PowerBuilder - Problems and Solutions


Configuring Your Distributed PowerBuilder Application to Run as an NT Service

If you're using Web.PB or another distributed PowerBuilder application server, you may want to consider configuring it to run as an NT service to simplify administration. With your PB application server running as an NT service, it will start automatically every time you reboot your machine! Be sure to read svrany.wri, and follow this outline:

  1. Create/compile your PB 5.0 application into EXE (no special event handling required).
  2. Run the Initsrv. This creates a service entry in the registry.
  3. Edit the registry and add a key and value to reference the PowerBuilder application.
  4. In the services section of control panel, select the new service. Change the properties to startup using admin account, allow using desktop and start automatically.
  5. Reboot your computer.