Binding with the WinNT provider may generate error 0x80005000 (321210)



The information in this article applies to:

  • Microsoft Active Directory Services Interface, Microsoft Active Directory Client
  • Microsoft Active Directory Services Interface, System Component

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("WinNT://" + strDomain + "/" + strDUser + ", User")
				
The following line works correctly:
set obj = GetObject("WinNT://" + strDomain + "/" + strDUser + ",User")
				

REFERENCES

For additional information about ADSI (including the Help file), visit the following Microsoft Web site: For additional information about the ADSI WinNT provider, visit the following Microsoft Web site: To search MSDN, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:11/22/2005
Keywords:kbDSWADSI2003Swept kbinfo KB321210 kbAudDeveloper