발"라이브러리가 등록되지 않았습니다."하면서 사용하는 시스템입니다.DirectoryServices

StackOverflow https://stackoverflow.com/questions/34270

  •  09-06-2019
  •  | 
  •  

문제

나는 이제 막 시작이 받은 다음에 오류가 내 windows forms 응용 프로그램 아래에 있습니다.NET2framework windows2000 에서 사용하는 경우 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 이 될 것입니다.

도움이 되었습니까?

해결책

는 데 사용되는 반사체 하에 빠른 첨단 디렉토리 서비스 코드,그것은 다음과 같 Active Directory 비스 인터페이스 설치 될 수 있습 차분.

당신 버전을 다운로드 할 수 있습 2.5 서 Technet 하지만 나는 확실하지 않다면 그것은 최신의 버전 또는 작동하는 경우 윈도우 2000.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top