2008-08-29 24 views
1

kullanırken, Windows 2000'de Windows 2000'de .NET 2 çerçevesi altında Windows form uygulamasında System.DirectoryServices kullanırken aşağıdaki hatayı almaya yeni başladım.COMException "Kitaplık kayıtlı değil." 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() 

Ben çerçeveyi yeniden kurduktan ve yeniden tescil activeds.dll ancak bu sorunu çözmediğinden. Sanırım başka bir dll bulmalı ve yeniden kaydetmeliyim, ancak bunun hangi dll olacağı net değil.

cevap

1

Dizin Hizmetleri kodunda hızlı bir zirveye sahip olmak için Reflector'u kullandıysanız, Active Directory Hizmet Arabirimleri yüklemenizin kaput olabileceği anlaşılıyor.

Ben son sürüm olup olmadığından emin değilim ya karşın Technet gelen sürüm 2.5 indirebilirsiniz

o Windows 2000

ile çalışıp çalışmadığını
İlgili konular