2010/01/13

activeds.dll System.DllNotFoundException(0x8007045A) 오류

네임스페이스 : System.DllNotFoundException
메시지 : DLL 'activeds.dll'을(를) 로드할 수 없습니다. DLL 초기화 루틴을 실행할 수 없습니다. (예외가 발생한 HRESULT: 0x8007045A)
오류스택 :    위치: System.DirectoryServices.Interop.UnsafeNativeMethods.IntADsOpenObject(String path, String userName, String password, Int32 flags, Guid& iid, Object& ppObject)
   위치: System.DirectoryServices.Interop.UnsafeNativeMethods.ADsOpenObject(String path, String userName, String password, Int32 flags, Guid& iid, Object& ppObject)
   위치: System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   위치: System.DirectoryServices.DirectoryEntry.Bind()
   위치: System.DirectoryServices.DirectoryEntry.get_IsContainer()
   위치: System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
   위치: System.DirectoryServices.DirectoryEntries.GetEnumerator()
   위치: 사용자 클래스.....   


C# 에서 IIS 메타베이스에 접근을 하는데, 로그온후 사용자 계정에서 직접 실행하는 경우에는 오류가 발생하지 않는데, SYSTEM 계정으로 실행될때 위와 같은 오류가 발생함...

트레이스된 내용중에 메쏘드 파라미터를 보면, 아마도 사용자 계정과 관련이 있는것 같은데, 영문 포럼등을 찾아봐도 확실하게 이유를 설명해 놓은것은 없는듯.

현재의 최선의 해결방법은 리붓팅을 한번 해놓으면 발생하지 않는 다고 함. -_-;;

댓글 없음:

댓글 쓰기

가장 많이 본 글