C
Ciccio
Hi
I'm new to active directory programming. From an asp.net application
that uses AD I got an excepion of type:
System.Runtime.InteropServices.COMException (0x8000500C): The Active
Directory datatype cannot be converted to/from a native DS datatype
at System.DirectoryServices.Interop.IAds.GetEx(String bstrName)
at
System.DirectoryServices.PropertyValueCollection.PopulateList()
at
System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry
entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String
propertyName)
(CODE:"description =
entry.Properties["description"].Value.ToString();")
The problem is that this exception is thrown only on w2000 platform, on
my machine and on W2003 server, all works fine.
Any Help?
Thanks
I'm new to active directory programming. From an asp.net application
that uses AD I got an excepion of type:
System.Runtime.InteropServices.COMException (0x8000500C): The Active
Directory datatype cannot be converted to/from a native DS datatype
at System.DirectoryServices.Interop.IAds.GetEx(String bstrName)
at
System.DirectoryServices.PropertyValueCollection.PopulateList()
at
System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry
entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String
propertyName)
(CODE:"description =
entry.Properties["description"].Value.ToString();")
The problem is that this exception is thrown only on w2000 platform, on
my machine and on W2003 server, all works fine.
Any Help?
Thanks