Re: Get ROOTDSE via ASP receive error: 8007054b
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 10/20/05
- Next message: Bernard Cheah [MVP]: "Re: IIS 6.0, Host Headers and SSL"
- Previous message: Aric: "virtual server authorization"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 20 Oct 2005 15:17:30 +1000
>From winerror.h
ERROR_NO_SUCH_DOMAIN
The specified domain either does not exist or could not be contacted.
You may wish to check network connectivity etc.
Cheers
Ken
"Daniel Di Vita" <Daniel Di Vita@discussions.microsoft.com> wrote in message
news:C40292CB-BC92-437B-AF04-CE73DA55E3DA@microsoft.com...
: We are developing web pages in ASP classic on an IIS5 server. We are
having
: an issue on our Production server that we are not seeing on our
Development
: server. Here is the code first of all:
:
: <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
: <%
: 'we created a DLL that will allow us to impersonate an admin on the
domain.
: Set objLogon =
: Server.CreateObject("LoginAdmin.ImpersonateUser")objLogon.Logon
"username",
: "password", "domain"
:
: 'Get Root Domain Name
: Set oRoot = GetObject("LDAP://RootDSE") ' the code errors out on this line
: sDNSDomain = oRoot.Get("DefaultNamingContext")
: response.write sDNSDomain
: %>
:
: I checked the W3SVC/NTuthenticationProviders and it is set to:
Negotiate,NTLM
:
: I also checked how the securty was setup in IIS and it si set to
Integrated
: Windows Authentication. Anonymous access is turned off.
:
: I can't seem to duplicate the errror on my development server iwth the
same
: settings. the Development and Production server are in the same OU in AD.
: They both have the same policy associated with that OU. Any thoughts?
- Next message: Bernard Cheah [MVP]: "Re: IIS 6.0, Host Headers and SSL"
- Previous message: Aric: "virtual server authorization"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|