Re: Get ROOTDSE via ASP receive error: 8007054b

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 10/20/05


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?



Relevant Pages

  • Re: Image URL?
    ... I did not put MYWEBSITE under Inetput. ... Production Server c:\MYWEBSITE\userControls ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Code Behind vs not
    ... When inline code is deployed to a production server you now have server ... If you have an error during compile time it will occur on the production ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Need for deployment project, VS 2008, WinXP
    ... is proper to put into the production server. ... copying updated DLL to Production server works fine. ... In the staging server, create a bat file named "ReinstallWebSetup.bat". ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.general)
  • RE: Help with NAT
    ... When I visit the development server through the FreeBSD NAT box I ... xl1 is the external interface, xl0 is the internal interface, ... And this is what I see when I try the production server: ...
    (freebsd-questions)
  • Re: Performance problems oracle 8i
    ... > processor, less memory). ... The production server should be faster than ... W2K does not support a bulk of memory, ... > But now we're trying the scripts on the production server and it all ...
    (comp.databases.oracle.misc)