G
Guest
I get Access Denied
(System.Runtime.InteropServices.COMException) When trying
to
use DirectoryEntry on IIS via ASP.NET application. The
same code I use is not generating this Exception while
running in Console mode.
Sample Code :
DirectoryEntry obDirEntry = new DirectoryEntry
(IISPrefix + ComputerName + IISRoot, UserName, Password);
I tried also using impersonate in web config using admin
account but still the same problem.
Any Ideas ??? 10x.
(System.Runtime.InteropServices.COMException) When trying
to
use DirectoryEntry on IIS via ASP.NET application. The
same code I use is not generating this Exception while
running in Console mode.
Sample Code :
DirectoryEntry obDirEntry = new DirectoryEntry
(IISPrefix + ComputerName + IISRoot, UserName, Password);
I tried also using impersonate in web config using admin
account but still the same problem.
Any Ideas ??? 10x.