Microsoft KB Archive/321210

= Binding with the WinNT provider may generate error 0x80005000 =

Article ID: 321210

Article Last Modified on 11/22/2005

-

APPLIES TO


 * Microsoft Active Directory Service Interfaces 2.5
 * Microsoft Active Directory Service Interfaces 2.5

-



This article was previously published under Q321210



SUMMARY
If you use Active Directory Services Interface (ADSI) to bind to an object by using the WinNT provider, you may receive error -2147463168 or 0x80005000 (E_ADS_BAD_PATHNAME).



MORE INFORMATION
Before the Microsoft Windows XP system component, the ADSI parser does not ignore spaces before keywords such as user, group, or computer when you use the WinNT provider. For example, this line generates the error message: set obj = GetObject(&quot;WinNT://&quot; + strDomain + &quot;/&quot; + strDUser + &quot;, User&quot;) The following line works correctly: set obj = GetObject(&quot;WinNT://&quot; + strDomain + &quot;/&quot; + strDUser + &quot;,User&quot;)

