This article has been archived. It is offered "as is" and will no longer be updated.
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 2.0, 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.
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.
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:
Determine the name of Active Directory directory services domain that you specified during Windows SharePoint Services 2.0 Setup. To do so, follow these steps:
Click Start, and then click Run.
In the Open box, type cmd, and then click OK.
At a command prompt, do the following:
SharePoint Server 2003
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” />
Remove Windows SharePoint Services 2.0 from the virtual server.
To do so, at the command prompt, type the following line, and then press ENTER:
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 2.0 Administrator's Guide
Type exit to quit Command Prompt.
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 2.0 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 2.0 Administrator's Guide. To view the Microsoft Windows SharePoint Services 2.0 Administrator's Guide, visit the following Microsoft Web site: