Microsoft KB Archive/263078

= DB5_setSingleValuedAttribute Function Returns &quot;Invalid Encoding (0)&quot; =

Article ID: 263078

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Metadirectory Services 2.1

-



This article was previously published under Q263078



SYMPTOMS
The following warning message may appear in the Genlogs file:

WRN_00 01a2 00/03/15 16:54:10.686 (DB5_setSingleValuedAttribute) Invalid encoding (0) specified for attribute, dn (null).



CAUSE
At some point in the past, the database contained an error (probably a syntactic error) in the schema definitions as defined in either the Db5attr.oid or Custom.oid file. An indeterminate number of records that contain these specific, malformed attributes were written into the directory. Subsequently, the server that is running Microsoft Metadirectory Services (in builds after build 261) caught these errors when the records were being rewritten, and performed the lookupFromOID process to determine the correct attribute encoding.



RESOLUTION
The warning message means that schema definition errors are being corrected as records are being rewritten. As a precaution, run the Chkoids.exe program to verify that the directory-based object identification (OID) definitions are correct.



MORE INFORMATION
In Microsoft Metadirectory Services (MMS) 2.2, OID definitions are inspected and verified as they are accepted into the directory; incomplete or illegal definitions are immediately rejected. This enhanced checking should prevent &quot;Invalid encoding&quot; messages from appearing in MMS 2.2.

Keywords: kbenv kberrmsg kbprb KB263078

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.