Summary
This article describes how to remove the adTempus service dependency on the Net.Tcp Port Sharing Service for scenarios where you are not able to us that service.
More Information
The Net.Tcp Port Sharing Service is a Windows component that allows multiple applications to share the same TCP/IP port. adTempus uses this service to allow running multiple instances of the adTempus service that all use the same port number.
By default the adTempus service is configured to depend on this service, and cannot be started if the Port Sharing service is not running.
In some environments, system policies prevent the use of the Net.Tcp Port Sharing Service, making it impossible to start that service, and thus preventing adTempus from starting.
To resolve this problem, you must disable port sharing for adTempus. This will not affect adTempus functionality except that you will not be able to run multiple instances of adTempus on the computer without assigning a different port number for each instance.
To change the configuration:
- Run the Registry Editor and go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services"
- Under this key you will find one or more keys for the adTempus instances, named "adTempus$instancename".
- Select each instance key and edit the "DependOnService" value.
- Remove the line that reads "NetTcpPortSharing" and click OK to save the value.
- Go to Registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Arcana Development\adTempus\GlobalOptions".
- Edit the "ServiceHost:EnablePortSharing" value and set it to "0".
You should now be able to start the adTempus service.
If you try to start more than one instance, instances after the first will fail because the default port is already in use. For these instances you will need to configure a unique port for each instance (see documentation) and use that port number when connecting using the Console.