The Active Directory datatype cannot be converted to/from a native DS datatype

The Active Directory datatype cannot be converted to/from a native DS datatype

Post by huon » Wed, 23 Oct 2002 18:06:52



I get this error message once in a while when accessing an
attribute in my ASP pages:

Active Directory error '8000500c'
The Active Directory datatype cannot be converted to/from
a native DS datatype.

Here is the code:
' BEGIN
Set oLDAP = GetObject("LDAP:")
Set oContainer = oLDAP.OpenDSObject(strLdapPath, strAdmin,
strAdminPass, 0)
oMail = oContainer.Get("Mail") ' Ok..No error
oAtt1 = oContainer.Get("ExtensionAttribute1") ' -->ERROR
' END

I want to insist on the fact that this error only happens
once in a while (like once every week), and all i need to
do to fix it is to "unload" the virtual site in the IIS
management console. This is also a site based issue, since
another virtual site on the same machine could not be
affected by it. This can happen on both site though.
In the MSDN, the suggested corrective action corresponding
to the error code, is this:
"Verify that the correct data type is used and/or that
there is sufficient schema information available to
perform data type conversion."
My Active Directory lies on a remote computer (Windows
2000 Server SP2, Exchange Server)

Can anyone help?
Thanks.

 
 
 

1. The Active Directory datatype cannot be converted to/from a native DS datatype

I have written some .NET code to get groups out of the
ActiveDirectory.  Normally it works fine, but after a few days of
usage on the web server (it is c# asp.net code), it breaks with the
error

The Active Directory datatype cannot be converted to/from a native DS
datatype

The only way of fixing it is to restart IIS whereupon it works
perfectly for another few days.  What could be triggering this?  Is
this a known bug?

2. Reveal 4xCDROM Problems

3. Active Directory, DNS, And joining the domain...HELP!!!

4. Error Message: The Active Directory datatype cannot be converted to/from a native DS datatype

5. Using the NotesReplication Class

6. Driving me insane: Error: Datatype cannot be converted to/from a native DS datatype...

7. Bryce!

8. ADSI datatype cannot be converted to or from a native DS datatype

9. 0x8000500C Error, "The Active Directory datatype cannotbe converted to/from a native DS"

10. Active Directory datatype cannot be converted

11. native DS datatype

12. VB ADSI and native DS datatype