Microsoft Knowledge Base Email Alertz

(925426) - Describes a problem that occurs when you try to run stsadm.exe -o setconfigdb with the -hh parameter parameter to create a Windows SharePoint Services 3.0 configuration database or to specify a connection to an existing configuration database.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 925426 - Last Review: May 14, 2007 - Revision: 1.3

Error message when you try to run stsadm.exe -o setconfigdb together with the -hh parameter in Windows SharePoint Services 3.0: "Command line error. Invalid parameter"

SYMPTOMS

You try to run the stsadm.exe -o setconfigdb command together with the -hh parameter to create a Microsoft Windows SharePoint Services 3.0 configuration database or to specify a connection to an existing Windows SharePoint Services 3.0 configuration database. For example, you type the following command at the command line:
stsadm -o setconfigdb -databaseserverServerName -hh
When you do this, you receive the following error message:
Command line error. Invalid parameter
Additionally, when you type stsadm -help setconfigdb to view the options for the setconfigdb command, the -hh option is listed in the following code.
stsadm.exe -o setconfigdb
           [-connect]
           -databaseserver <database server>
           [-databaseuser <database user>]
           [-databasepassword <database user password>]
           [-databasename <database name>]
           [-hh]
           [-exclusivelyusentlm]
           [-farmuser]
           [-farmpassword]
           [-adcreation]
           [-addomain <Active Directory domain>]
           [-adou <Active Directory OU>]

CAUSE

This behavior occurs because the -hh parameter was used to turn on scalable hosting mode in Windows SharePoint Services 2.0. However, the -hh parameter is no longer used with the setconfigdb option in Windows SharePoint Services 3.0.

RESOLUTION

To resolve this behavior, use the -hostheaderwebapplicationurl parameter when you use the stsasdm -o createsite command to create a Windows SharePoint Services site. This lets Windows SharePoint Services sites that are in scalable hosting mode communicate with Microsoft Internet Information Services (IIS) virtual server sites that are not in scalable hosting mode.

The following is an example of how to use the -hostheaderwebapplicationurl parameter when you use the stsasdm -o createsite command to create a Windows SharePoint Services site:
stsadm.exe -o createsite -url url -ownerlogin DOMAIN\name -owneremail someone@example.com -hostheaderwebapplicationurl Web application url

STATUS

This behavior is by design.

APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kbtshoot kbprb kbexpertiseinter KB925426
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate