Icon Starting the Web Server

Elevate Web Builder includes an external, deployable web server along with the IDE and compiler. The Elevate Web Builder Web Server runs on Windows XP or higher as a normal application or Windows service, and automatically supports Elevate Web Builder application database requests. In addition, you can use Embarcadero RAD Studio and Delphi to create native server modules that can be added to the web server in order to handle requests from an Elevate Web Builder application (or any web browser or web browser application).

The web server executable is called ewbsrvr.exe and can found in the \bin\ewbsrvr sub-directory under the main installation directory.

Installing the Web Server as a Service
If you wish to run the web server as a Windows service you must install it as a service by running the web server with the /install command-line switch set. For example, to install the web server as a service using the Run command window under Windows you would specify the following command:

ewbsrvr.exe /install

To uninstall the web server as a Windows service you must run the web server with the /uninstall command-line switch set. For example, to uninstall the web server as a service using the Run command window under Windows you would specify the following command:

ewbsrvr.exe /uninstall

If you wish to install the web server so that it does not interact with the desktop at all, which is required in instances where the current user will be logged out of the system, then you should use the /nointeract flag along with the /install command-line switch:

ewbsrvr.exe /install /nointeract

This will install the service as a non-interactive service and the web server will not display a user interface when it is started.

Finally, by default the service will display a "Service installed" dialog box when the service is installed successfully. This is sometimes not desired during installations, and in these cases you can use the /silent command-line switch to suppress the dialog box:

ewbsrvr.exe /install /silent

Starting the Web Server
The main difference between starting the web server as a normal application and starting the web server as a Windows service is that the normal application can be started just like any other application in one of three ways: the Run dialog, the command-line, or a Start Menu program link or desktop link. The service, however, must be started via the Services dialog or by using the NET START command-line command.

Starting the Web Server as a Normal Application

You can start the web server as a normal application by clicking on the link for the "Elevate Web Builder 2 Web Server".

Image

Starting the Web Server as a Service

To start the web server as a Windows service, you can use the NET START command from the command-line:

net start ewbsrvr

Information In order to start the web server as a Windows service the server must have already been installed as a service using the /install command-line switch (see above).
Image