Comexception "المكتبة غير مسجلة". أثناء استخدام System.DirectoryServices
-
09-06-2019 - |
سؤال
لقد بدأت للتو في تلقي الخطأ التالي في تطبيق نماذج Windows الخاص بي ضمن إطار عمل .NET 2 على نظام التشغيل Windows 2000 عند استخدام 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()
لقد قمت بإعادة تثبيت الإطار وإعادة التسجيل activeds.dll
لكن هذا لم يحل المشكلة.أعتقد أنني بحاجة إلى العثور على ملف dll آخر وإعادة تسجيله، ولكن ليس من الواضح أي ملف dll سيكون.
لا تنتمي إلى StackOverflow