DirectoryEntry Access Denied
- From: Ordwin <Ordwin.2af8xr@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 4 Jul 2006 07:36:14 -0500
Hello,
I am currently working on a app to remotely (from a windows xp
environment) retrieve a list of websites/virtualdirectories on a
windows 2003 server. However, it keeps giving me an access denied on
the following piece of code:
Me._W3Root = New DirectoryEntry("IIS://" & Me.txtServer.Text &
"/W3SVC", Me.txtUser.Text, Me.txtPassword.Text)
Me._W3Root.RefreshCache()
If I run this piece of code using 'localhost' as servername then it
works perfectly on windows xp and windows 2003.
Does anyone have suggestions or ideas what can be wrong?? Do I have to
do some adjustments on privileges on either environments???
Thanks in advance.
--
Ordwin
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
.
- Follow-Ups:
- Re: DirectoryEntry Access Denied
- From: Joe Kaplan \(MVP - ADSI\)
- Re: DirectoryEntry Access Denied
- Prev by Date: Re: Authorization question, w/ "Windows" authentication mode
- Next by Date: ASPdotNet Deployment
- Previous by thread: Re: ASP.NET Membership
- Next by thread: Re: DirectoryEntry Access Denied
- Index(es):
Relevant Pages
|
|