Stop Terminal Server Licensing Service Prior to Installing Programs that Use ODBC Connections

ID: Q225195


The information in this article applies to:
  • Microsoft Windows NT Server versions 4.0, 4.0 SP4, Terminal Server Edition


SUMMARY

Terminal Server Licensing Service (TSLS) holds Open Database Connectivity (ODBC) Dynamic Link Library (DLL) files open when TSLS is running. Programs that use the ODBC DLL files such as SQL Server are not able to update those files during the installation of the program. Therefore, the TSLS service should be stopped prior to installing programs that require these ODBC DLL files to be updated during installation.

Programs installed when the TSLS is running may display error messages similar to the following when the DLL files are in use and the installation is not completed successfuly.

Setup
ODBC components on your system need to be updated but one or more files are in use or are marked as read-only. Please close all applications and press retry. Note, that a reboot may be required to free the files.
Retry
Cancel

NOTE: The error message does not indicate which programs are "in use" and there were no specific programs running. The TSLS service is what is in use.

Terminal Server Service Pack 4 (SP4) should also have TSLS stopped prior to SP4 installation because the TSLS DLL files need to be updated.


MORE INFORMATION

To stop the Terminal Server Licensing service prior to installation:

  1. Click Start, point to Settings, click Control Panel, and then double-click Services.


  2. Locate and then select the Terminal Server Licensing Service.


  3. Click Stop, click Yes if you are prompted with "Are you sure you want to stop the Terminal Server Licensing Service?"


  4. Click Close, and then proceed with installing programs in installation mode.


Programs should be installed in installation mode and then you must switch back to execute mode to run those programs. This is the appropriate method for installation of all programs such as SQL Server and also for SP4 installation.

Restart TSLS for normal operation. This can accomplished by following the procedure listed above and clicking Start in step 3 or by restarting the Terminal Server computer, which may be required based on the program. Restarting the computer is definitely required when installing a service pack. This starts the ODBC DLL files and they will be used by the new program as well as TSLS.


REFERENCES

TSLS ODBC

Additional query words:

Keywords :
Version : winnt:4.0,4.0 SP4
Platform : winnt
Issue type : kbinfo


Last Reviewed: July 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.