You receive a "Specified domain does not exist" or an "Adding user name failed" error message when you extend a virtual server with Windows SharePoint (828813)



The information in this article applies to:

  • Microsoft Windows SharePoint Services

SYMPTOMS

When you extend a virtual server with Microsoft Windows SharePoint Services, you may receive the following error message:
The virtual server was extended with Windows SharePoint Services, but the following error occurs in creating the default site "http://ServerName". Please correct the input and try to create the default site again. Error: The specified domain either does not exist or could not be contacted.
Additionally, an event error message with a description that is similar to the following is logged to the application event log:
#1e0046: Adding user "UserName" to OU "OrganizationalUnitName" in domain "DomainName" failed with HRESULT -2147023541.

CAUSE

This issue may occur if you configured Windows SharePoint Services in Active Directory account creation mode and either the domain that you specified does not exist or the server that is running Windows SharePoint Services cannot contact the Active Directory directory services domain that you specified.

This problem may also occur if you specify the Active Directory domain with the fully qualified domain name. Instead, use the NetBIOS name of the domain.

RESOLUTION

To resolve this issue, specify a different Active Directory domain. Note that to specify a different Active Directory domain, you have to create a new configuration database. After you create a new configuration database, you cannot modify the database setting. To specify a different Active Directory domain, follow these steps:
  1. Determine the name of Active Directory directory services domain that you specified during Windows SharePoint Services Setup. To do so, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open box, type cmd, and then click OK.
    3. At the command prompt, type the following lines, and then press ENTER after each line:

      cd /d %commonprogramfiles%\Microsoft Shared\Web Server Extensions\60\Bin
      stsadm -o getproperty -pn adaccountdomain

      You receive the following response in the Command Prompt window, where DomainName is the name of the domain:

      <Property Exist="Yes" Value="DomainName" />

  2. Remove Windows SharePoint Services from the virtual server.

    To do so, at the command prompt, type the following line, and then press ENTER:

    stsadm -o unextendvs -url http://URLOfVirtualServer

  3. Create a new configuration database and specify the Active Directory domain and organizational unit that you want. To do so, type the following line at the command prompt, and then press ENTER:

    stsadm -o setconfigdb -ds DatabaseServerName -dn ConfigurationDatabaseName -adcreation -addomain ActiveDirectoryDomain -adou OrganizationalUnitName

    Note If you want the configuration database to run in scalable hosting mode, add the -hh parameter to the command line.

    For more information about scalable hosting mode, see the "Deployment Scenarios" topic of the Microsoft Windows SharePoint Services Administrator's Guide
  4. Type exit to quit Command Prompt.

MORE INFORMATION

When you use Active Directory account creation mode, you can automatically create new accounts for users in Active Directory instead of using pre-existing domain accounts. For example, an Internet Service Provider (ISP) may want to permit Windows SharePoint Services site owners the ability to create user accounts or to invite users to collaborate on a Web site where existing domain accounts for those users do not already exist.

For more information about how to install, configure, and administer Windows SharePoint Services, see the Microsoft Windows SharePoint Services Administrator's Guide. To view the Microsoft Windows SharePoint Services Administrator's Guide, visit the following Microsoft Web site: For more information about Windows SharePoint Services, visit the following Microsoft Web site: back to the top

Modification Type:MajorLast Reviewed:5/15/2006
Keywords:kbtshoot kbWebServices kberrmsg kbprb KB828813 kbAudITPRO