KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to run 4D Server as a service on Windows Vista
PRODUCT: 4D Server | VERSION: 11 | PLATFORM: Win
Published On: February 4, 2009

To be able to run 4D Server as a service ("Register Current Database as Service") in Windows Vista, you must run 4D Server as an administrator.

To do this use one of the two following options:

Note: This must be done even if you are already logged as an administrator.

  • Right-click on 4D Server.exe and choose "run as administrator".
  • Or to always run 4D v11 SQL Server as administrator:
    1. Right-click on 4D Server.exe, and then click Properties.
    2. Click on the "Compatibility" tab.
    3. Select the "Run this program as an administrator" checkbox, and then click OK.

To be able to see the 4D Server Administration window on Windows Vista while running it as a service, please do the following:

  • On Windows, go to Control Panel > Administrative Tools > Services.
  • Locate 4D Server among the services list, right-click on it and select "Properties".
  • In the property window, click on the "Log On" tab and check the "Allow service to interact with desktop" box.

If the service is running, you must stop it and start it over.

Once the service starts, Windows Vista will display a window titled "Interact Services dialog detection" and showing the following message: "A program can't display a message on your desktop". Click on the "Show me the message" option and you will be able to see the 4D Server Administration window and interact with 4D v11 SQL server.

Commented by Thomas Fitch on January 6, 2010 at 3:53 PM
This Tech Tip applies to Windows 7 as well as Windows Vista.
Commented by Jesse Pina on June 12, 2009 at 11:28 AM
See the following Tech Tip if you are interesting in an update regarding services no longer being allowed to interact with the desktop on Windows Vista and for the different options available:

http://kb.4d.com/search/assetid=75714