Re: error: {System.Runtime.InteropServices.COMException} occured
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Fri, 5 Aug 2005 19:56:52 +0200
You don't need to impersonate, you simply have to use the DirectoryEntry
overload that takes a username and password to connect to the AD.
Willy.
"iusfani" <Inam.Yousfani@xxxxxxxxx> wrote in message
news:1123258288.820089.133260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I have tried running the same code on console and it runs perfectly.
> Now I think Nicholas was right. It was the ASPNET user's problem.
>
> Tell me how to set the impersonation in web.config? Any idea?
>
> Inam,
>
.
- Follow-Ups:
- References:
- error: {System.Runtime.InteropServices.COMException} occured
- From: iusfani
- Re: error: {System.Runtime.InteropServices.COMException} occured
- From: Willy Denoyette [MVP]
- Re: error: {System.Runtime.InteropServices.COMException} occured
- From: iusfani
- error: {System.Runtime.InteropServices.COMException} occured
- Prev by Date: Re: 30% difference in speedof C# vs C++ for math?
- Next by Date: what is difference between int.Parse("123") and Convert.ToInt32("456")?
- Previous by thread: Re: error: {System.Runtime.InteropServices.COMException} occured
- Next by thread: Re: error: {System.Runtime.InteropServices.COMException} occured
- Index(es):
Relevant Pages
|