The installation of Microsoft Data Access Components (MDAC) presents special challenges when installing on Terminal Server. Also, as the Terminal Service Licensing service uses Open Database Connectivity (ODBC), an incorrect installation of MDAC renders the service inoperable.
Both programs and system services use ODBC, and some manual steps may have to be used to ensure that nonprivileged services can access the components.
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows
The first set of steps is necessary to ensure the MDAC service installation will finish. The last steps will ensure that MDAC will run on the terminal server and all users will be able to take advantage of the updates.NOTE
: The person performing the installation must be in the local Administrators group.
- Stop all ODBC-dependant services including, but not limited to, Internet Information Services (IIS), Structure Query Language (SQL) Server, SQL Server Enterprise Manager, Terminal Server (TS) licensing service, and ODBC Administrator itself, and so on.
- Remove all users who are logged on.
- Create a temporary folder in the System32 folder named "Oldodbc" (or any folder not in the computer's path), and then move the following files into that folder:
Ds16gt.dll If a webdata package has ever been installed, then all values need to be removed under the following registry key. Do not remove the key. Save the key to a file before removing the values.
- At a command prompt, type change user /install, and then close the command window.
- Now you are ready to start the installation. Download MDAC from the following Microsoft Web site and install it with the default options:IMPORTANT: Before closing the Setup screen or restarting, you must run the program compatibility script, Odbc.cmd, which is located in the following folder:
SystemRoot\Application Compatibility Scripts\Install
- Shutdown and restart the computer. This will automatically return the computer to Execute mode.
: Once you have verified that MDAC has installed properly, you may delete the folder created in Step 3 and all of its contents.
Access to some components located in Systemroot
\System32 is limited to the person who performed the installation, the Administrator group, and System. The generic Everyone group needs Read and Execute rights to the following ODBC files. The current rights on these files will vary depending on the version of MDAC that is installed.
: If you are installing MDAC 2.6 and higher, the Jet 4.0 database also needs to be installed for Terminal Server to operate properly. This is a separate installation from MDAC. This is not needed for MDAC 2.6 or earlier. You can download the Jet 4.0 Service Pack 8 Release from the following Microsoft Web site:
For additional information about how to install MDAC on a Windows 2000 Server computer, click the following article number to view the article in the Microsoft Knowledge Base:
PRB: Installing MDAC on Terminal Server
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
PRB: MDAC 2.6/2.7 Roll Back Installation/Give Error on Install
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
Dr Watson Starting TS License Service with Error 3221487623
HOWTO: MDAC Setup Troubleshooting Guide
INFO: Component Checker: Diagnose Problems and Reconfigure MDAC