1

Windows 2000 の .NET 2 フレームワークで を使用しているときに、Windows フォーム アプリケーションで次のエラーを受け取り始めたばかり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になるかは明確ではありません。

4

1 に答える 1

1

Reflectorを使用してディレクトリ サービス コードの概要を簡単に説明したところ、Active Directory サービス インターフェイスのインストールが失敗したように見えます。

バージョン 2.5 はTechnetからダウンロードできますが、それが最新バージョンなのか、Windows 2000 で動作するのかはわかりません。

于 2008-08-29T09:55:21.847 に答える