Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Access Denied Exception When Using DirectoryEntry

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  No property pages in IIS administration web site  
Author Message
ubahat

External


Since: Dec 17, 2003
Posts: 1



(Msg. 1) Posted: Wed Dec 17, 2003 11:22 am
Post subject: Access Denied Exception When Using DirectoryEntry
Archived from groups: microsoft>public>inetserver>iis (more info?)

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.

 >> Stay informed about: Access Denied Exception When Using DirectoryEntry 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Wed Dec 17, 2003 2:36 pm
Post subject: Re: Access Denied Exception When Using DirectoryEntry [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Are you using Basic authentication?

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
<ubahat DeleteThis @hotmail.com> wrote in message
news:0c2d01c3c4b9$f5b639e0$a401280a@phx.gbl...
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.

 >> Stay informed about: Access Denied Exception When Using DirectoryEntry 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[IIS 6] Access denied with CDO - I'm running an IIS 6 web server. There's an ASP page that needs to send e-mails using CDO. When doing this, it gets an "access denied" error (id 80070005). I'm running the website under an account different than the default IUSR_SERVERNAME, and...

401 Access denied.... - Hello, I am working with IIS 5.0. I am trying to access a webpage with necessary accessibility credentials. Through the IIS log I observed that there are totally 3 HTTP transaction happening to server my request. During first 2 transactions the response....

FTP 550 error : Access is denied ? - Hi, Got FTP service running on win2k server. When logging in as administrator I attempt the following: - type "send" - prompted for "local file" - type "c:\k.txt - prompted for "remote file" - type "k.txt" -...

UNC path results in access denied? - We have a brand new Windows Server 2003 web server on which we've configured a website with the base directory being accessed via a UNC path. The UNC path points to a share on a Windows Powered NAS and the account used to access the remote share has..

Virtual directory "access denied" - We are running IIS 5.0 on a win2k server. All of a sudden our virtual diretories began showing an error in Internet Service Manager. The status is "access denied". These virtual directories point at local resources. I have checked all t...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]