The information in this article applies to:
SYMPTOMSIf a Single Threaded Apartment (STA) thread sets a thread token on its apartment thread, it may lose this token unexpectedly. As a result, secure calls to open files, databases, and so on, can fail. This behavior is exhibited only by STA servers; MTA servers are unaffected by this problem. CAUSEThis problem is caused by a bug in the COM/RPC runtime that causes it to incorrectly revert the thread token after a call was dispatched to the STA. RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, please see the following article in the
Microsoft Knowledge Base: Q152734 How to Obtain the Latest Windows NT 4.0 Service Pack STATUSMicrosoft has confirmed this to be a problem in Windows NT 4.0 and Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4. MORE INFORMATIONCOM server processes may set thread tokens on their threads for various reasons. Secure calls from such threads will use the thread token in the access checks performed by the operating system. If these threads also happen to host STA objects, the token can be lost because of the above bug. Secure calls from the threads will then use the process token for access checks, and this can lead to different results from the first case. The problem usually manifests as unexpected security failures in secure accesses made by such threads.
Keywords : NT4SP4Fix kbbug4.00 kbfix4.00.sp4 |
Last Reviewed: April 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |