Microsoft KB Archive/256149
PSS ID Number: 256149
Article Last Modified on 1/8/2004
The information in this article applies to:
- Microsoft Windows NT Server 4.0 Terminal Server Edition
- Microsoft Windows NT Server 4.0 SP4
- Microsoft Windows NT Server 4.0 SP5
- Microsoft Windows NT Server 4.0 SP6
- Microsoft Windows NT Server 4.0 SP6a
This article was previously published under Q256149
If a program is running on Windows NT and multiple threads concurrently call CoGetClassObject for an object that is located on a remote computer but the COSERVERINFO value is not supplied (the remote computer name must be read from the registry), one of the following three error messages may be displayed:
This behavior occurs when the RemoteServerName data is placed into a buffer from the registry. The buffer is then deleted; by the next time the information is read from the registry by another thread, it is no longer present. If the previous thread uses the buffer (assuming that the name is valid) after the second thread has deleted it, the RemoteServerName data is invalid.
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows NT 4.0 service pack that contains this fix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English-language version of this fix for Windows NT Server should have the following file attributes or later:
Date Time Size File name Platform -------------------------------------------------- 03/14/2000 18:00 105 KB Rpcss.exe Intel 03/14/2000 18:00 179 KB Rpcss.exe Alpha
The English-language version of this fix for Windows NT Server Terminal Server Edition should have the following file attributes or later:
Date Time Version Size File name ------------------------------------------------------- 09/27/2001 20:17 4.0.1381.33478 701,712 Ole32.dll 09/27/2001 20:17 4.0.1381.33478 108,816 Rpcss.exe
NOTE: This hotfix requires 4.0 SP5 or later for installation and support.
If you supply the remote computer name in the COSERVERINFO value, the problem does not occur.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
The value for COSERVERINFO can be null, in which case the class object is created on the current computer or on the computer specified under the class's RemoteServerName key in the registry as according to the interpretation of the dwClsCtx parameter. See the CLSCTX documentation on the Microsoft Developer Network (MSDN) for details.
Keywords: kbbug kbfix kbQFE KB256149
Technology: kbNTTermServ400 kbNTTermServSearch kbWinNT400search kbWinNTS400search kbWinNTS400sp4 kbWinNTS400sp5 kbWinNTS400sp6 kbWinNTsearch kbWinNTSsearch