PRB: MSDN Help Cannot Find msdn*.col File on Terminal ServerID: Q195878
|
After you install Visual Studio 6.0 or the Visual Studio MSDN 6.0 component on Terminal Server, you cannot open the help system. If you press F1 for help in Visual C++, a Help System dialog box appears with one of the following messages:
If you load MSDN directly from the Start menu, a Help dialog box appears with the following message:Attempting to use an invalid help file.
The MSDN collection does not exist. Please reinstall MSDN.
If MSDN 6.0 or the October 98 edition of MSDN is installed in the normal EXECUTE mode, the following error occurs at the end of setup:Cannot open the file: <MSDN path>MSDN98\98VS\1033\msdnvs98.col
However, Help functions normally if you manually change to the INSTALL mode in Terminal Server. If you start setup through Add/Remove Programs in the Control Panel, it automatically changes to INSTALL mode.MSDN Setup Error
CloseCollection g_ccolCollection.Open(collectionname) dwError = 1
MSDN does not install properly on Terminal Server, causing the above symptom in normal user EXECUTE mode. Since MSDN is the Visual Studio component that provides Help for Visual Studio products, such as Visual C++, Help for these products appears to be unavailable on Terminal Server.
For each user, copy the Hhcolreg.dat file to a folder named Windows\Help in the user's home directory. MSDN installs Hhcolreg.dat to the Help folder of the Windows NT system root directory. The Help folder is not normally present in the user's home directory Windows folder. You must create it.
The "Collection file not found in Windows Terminal Server installation" section of the MSDN file Readmedn.htm states:
You can get MSDN to work properly by moving the hhcolreg.dat file from the Windows\Help directory to the specific user profile Help directory. The user profile directory can be found in the Windows\Profiles directory.This document is somewhat misleading, since it indicates you must move the Hhcolreg.dat file to a user's profile directory, rather than copying it to the Windows\Help path of each user's home directory. Terminal Server stores the location of the user's home directory in the environment variables HOMEDRIVE and HOMEPATH.
@echo off
if exist %HomeDrive%%HomePath%\windows\help\hhcolreg.dat goto NoFile
del %HomeDrive%%HomePath%\windows\help\hhcolreg.dat
goto CopyDat
:NoFile
mkdir %HomeDrive%%HomePath%\windows\help >nul
:CopyDat
copy %windir%\help\hhcolreg.dat %HomeDrive%%HomePath%\windows\help >nul
If you already have logon scripts assigned for your users, you can
incorporate the previous script into it. You can copy the script into a
globally readable batch file (that is, .bat or .cmd), and either CALL it
from an existing logon script or add a shortcut to that file to the Startup
group for All Users. The Startup group is located in the following
directory:
<SystemRoot>\Profiles\All Users\Start Menu\Programs\StartupThis approach works no matter where the user's home directory is located.
C:\WTSRV\Profiles\User1\WindowsTerminal Server uses this directory by default as the user's home directory, and sets the environment variables HOMEDRIVE and HOMEPATH to the drive letter and path, respectively, of that directory. However, an administrator can elect to map a user to another home directory. This option is available from the User Manager utility in Administrative Tools (Common).
Windows NT Server 4.0, Terminal Server Edition Help: Change User - Notes
Additional query words:
Keywords : kbNTOS400 kbVS600 kbMSDN600 kbMSDN1098 kbGrpDSTools
Version : WINDOWS:6.0; winnt:4.0
Platform : WINDOWS winnt
Issue type : kbprb
Last Reviewed: June 4, 1999