LookupAccountSid Causes Access Violation on Multihomed System

Article translations Article translations
Article ID: 187686 - View products that this article applies to.
This article was previously published under Q187686
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SYMPTOMS

Applications that use the LookupAccountSid() function on a multihomed system may intermittently generate the following access violation in the calling function:

Access violation (0x00000006)
ERROR_INVALID_HANDLE

The problem occurs when this function is executed in a separate thread for each attached network, on Windows NT computers that are attached to multiple networks.

CAUSE

After the second thread completes, it attempts to destroy the client context handle, using the same handle that was closed by the first thread. This causes the function to generate the access violation.

RESOLUTION

To 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, click the following article number to view the article in the Microsoft Knowledge Base:
152734 How to Obtain the Latest Windows NT 4.0 Service Pack

STATUS

Microsoft has confirmed that this is 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.

Properties

Article ID: 187686 - Last Review: October 9, 2013 - Revision: 2.2
APPLIES TO
  • Microsoft Windows NT Server 4.0, Terminal Server Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix KB187686

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com