"0x8000500C" error when you use ADSI to read data from an OpenLDAP server from Windows 8 or Windows Server 2012

Velja za: Windows 8Windows 8 EnterpriseWindows 8 Pro


Assume that you use a script to access Active Directory Service Interfaces (ADSI) schema cache data from a computer that is running Windows 8 or Windows Server 2012. You run the script to perform Lightweight Directory Access Protocol (LDAP) queries against an OpenLDAP server. In this situation, the queries succeed and the data is returned to the client. However, you receive an error message that resembles the following:
0x8000500C, The directory datatype cannot be converted to/from a native DS datatype.


This issue occurs because the ADSI schema caching process requests an attribute that is not supported by the OpenLDAP server. In earlier versions of Windows, a failure to retrieve the attribute by using the caching process is ignored by Windows. However, Windows 8 and Windows Server 2012 optimize the schema download process to make retrieval of the attribute mandatory.


A modification is made to the schema download process that no longer requires the presence of the attribute.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


To apply this hotfix, you must be running Windows 8 or Windows Server 2012.

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates