Windows could not start the Bentley SELECTserver Gateway service


  
 Applies To 
  
 Product(s):SELECTserver Gateway
 Version(s):N\A
 Environment: N\A
 Area: Installation / Configuration
 Subarea: Windows Installer Errors
 Original Author:Jeremy Hoesly, Bentley Technical Support Group
  

Error or Warning Message

The SELECTserver Gateway service fails to start. When attempting to start it from the Services panel, the following error occurs:
Windows could not start the Bentley SELECTserver Gateway service on Local Computer.
Error 1067: The process terminated unexpectedly.

Examine the SS-Bentley.SelectServer.Gateway.exe.log file in C:\Program Files\Bentley\SELECTserver\Logs, and note whether one of the following explanations is provided:

Error 1

09-24-14 15:11:17 ERROR - Gateway - Error checking SELECTserver version
09-24-14 15:11:17 ERROR - Gateway - System.ArgumentNullException: Value cannot be null.
Parameter name: hostname
   at Bentley.SelectServer.Common.WebUtils.BuildURL(String protocol, String URL, String hostname)
   at Bentley.SelectServer.Common.Online.WebServices.Proxies.MiscProxy..ctor(String hostName)
   at Bentley.SelectServer.Gateway.Listener.CheckSelectServerVersion()

Error 2

10-29-14 09:52:00 ERROR - Gateway - Listener::OnStart Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Bentley.SelectServer.Gateway.Listener.ReadPortsToListen()
   at Bentley.SelectServer.Gateway.Listener.OnStart(String[] args)

Explanation

The SELECTserver Gateway is unable to retrieve the license settings (i.e. server name and site activation key) for your SELECTserver. This can happen for one of two reasons:

  1. The license settings have not been entered yet.
  2. The license settings have been entered for the current user only. This can cause problems since the SELECTserver Gateway service runs as a different user. 

How to Avoid

Perform the following steps:

  1. Open the Windows Start menu or screen, and perform a search for "License Management".
  2. One of the search results should be Bentley License Management Tool. Right-click on it, and select "Run as administrator."
  3. In the window that appears, select Options from the Tools menu.
  4. Ensure that a server name and site activation key are entered.
  5. Verify them by clicking the Test Connection button.
  6. If an "Elevate to All Users" button is present in the lower right corner, click it to move the settings to a location accessible by all users. Otherwise, use a Bentley-provided utility named Reg2Locale instead.

See Also

[[SELECTserver TechNotes and FAQs]]

Other Language Sources:

Français

Español