Re: Create a site from command line
- From: pggonz <pggonz@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 9 Jan 2009 08:06:06 -0800
Hi there,
I get the same error message, but my scenario is a little different.
I created this web app in prodcution "mysharepoint.com" at port 80 with host
header. Eventually, this site was bound to port 443 using SSL Binding.
Because it was live in production, I cannot just delete and recreate it. Now
I want to create another web app using the same host header, but pointing to
port 80 instead and I got this error message. On IIS, I took out the host
header value for the https app but somehow Sharepoint still thinks that this
app is still bound to port 80.
Please help.
""Lambert Qin [MSFT]"" wrote:
Hi super1,.
I am glad to hear that the information is helpful. Thank you for your
additional sharing and feedbacks. I believe that other newsgroup customers
will benefit from it.
It is my pleasure to work with you on this issue. For your reference, I
have summarized this issue as the following:
-----------------------------------------------------------------
Problem Description
-----------------------------------------------------------------
When customer was trying to create a new web application from the command
line. He got an error saying the IIS Web site you have selected is in use
by SharePoint.
If he ran the exact same script again and changed the -url from https:// to
http://, it worked.
Here are the command script:
stsadm -o extendvs
-url https://chemistry.sharepointdev.company.com
-ownerlogin DOMAIN\ACCOUNT
-owneremail EMAIL@xxxxxxxxxxx
-exclusivelyusentlm
-databaseserver spssqldev-1
-databasename WSS_ChemistryContent
-description chemistry.sharepointdev.company.com
-apidname AASharePoint
-----------------------------------------------------------------
Cause
-----------------------------------------------------------------
The parameter "url" indicated the name of the Web application and the value
should be a valid URL name, such as http://server_name:Port, SharePoint
would get the port number from the parameter.
If you didn't specify the port number in the "url" parameter, SharePoint
will use the default port number 80 for http and 443 for https
There was a site existed in the port 80, the error "the IIS Web site you
have selected is in use" should be shown if you created another site
without specifying the host header in the same port.
-----------------------------------------------------------------
Resolution
-----------------------------------------------------------------
Add the parameter "sethostheader" in order to enable the host header.
For more information about Extendvs: Stsadm operation (Office SharePoint
Server) command, please refer to
http://technet.microsoft.com/en-us/library/cc263040.aspx
After the web application created, you need to create a site collection
using "stsadm -o createsite" command.
For more information about Createsite: Stsadm operation (Office SharePoint
Server) command, please refer to:
http://technet.microsoft.com/en-us/library/cc262594.aspx
Thanks for your contribution again. If you need any assistance in the
future, please feel free to post in our newsgroup.
Sincerely,
Lambert Qin
Microsoft Online Support
Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights
- Prev by Date: Re: Modifying A List Filter
- Next by Date: Re: Sharepoint and Blackberry
- Previous by thread: Need H1B Consultant For GEMSCorp
- Next by thread: Same problem
- Index(es):
Relevant Pages
|
Loading