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.