Microsoft KB Archive/828813

= You receive a &quot;Specified domain does not exist&quot; or an &quot;Adding user name failed&quot; error message when you extend a virtual server with Windows SharePoint Services 2.0 =

Article ID: 828813

Article Last Modified on 10/23/2007

-

APPLIES TO


 * Microsoft Windows SharePoint Services 2.0

-





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 2.0, but the following error occurs in creating the default site “http:// ”. 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:


 * 1) 1e0046: Adding user “ ” to OU “ ” in domain “ ” 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:  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  is the name of the domain:



  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:

stsadm –o unextendvs –url http://URLOfVirtualServer

</li> 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  -dn  -adcreation –addomain   -adou

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 &quot;Deployment Scenarios&quot; topic of the Microsoft Windows SharePoint Services 2.0 Administrator's Guide</li> Type exit to quit Command Prompt.</li></ol>

<div class="moreinformation_section">

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 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:

http://www.microsoft.com/downloads/details.aspx?familyid=A637EFF6-8224-4B19-A6A4-3E33FA13D230

For more information about Windows SharePoint Services 2.0, visit the following Microsoft Web site:

http://technet.microsoft.com/windowsserver/sharepoint/bb267377.aspx

back to the top

Additional query words: WSSv2

Keywords: kbtshoot kbwebservices kberrmsg kbprb KB828813

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.