Ich habe gerade erst den folgenden Fehler in meiner Windows Forms-Anwendung unter .NET 2 Framework auf Windows 2000 erhalten, wenn Sie System.DirectoryServices
verwenden.COMException "Bibliothek nicht registriert." bei der Verwendung von System.DirectoryServices
{System.Runtime.InteropServices.COMException}
System.Runtime.InteropServices.COMException: {"Library not registered."}
_className: Nothing
_COMPlusExceptionCode: -532459699
_data: Nothing
_dynamicMethods: Nothing
_exceptionMethod: Nothing
_exceptionMethodString: Nothing
_helpURL: Nothing
_HResult: -2147319779
_innerException: Nothing
_message: "Library not registered."
_remoteStackIndex: 0
_remoteStackTraceString: Nothing
_source: Nothing
_stackTrace: {System.Array}
_stackTraceString: Nothing
_xcode: -532459699
_xptrs: 0
Source: "System.DirectoryServices"
StackTrace: " at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
at System.DirectoryServices.DirectorySearcher.FindAll()
Ich habe neu installiert den Rahmen und neu registriert activeds.dll
jedoch das Problem dadurch nicht gelöst hat. Ich vermute, ich muss eine andere DLL finden und neu registrieren, aber es ist nicht klar, welche DLL das wäre.