![]() Hi I am trying to use the following stsadm command line to create a Site Collection based on a custom template with a specific Content DB. Stsadm -o createsiteinnewdb -url -owneremail -ownerlogin staff2 spadmin2010 -sitetemplate _GLOBAL_#5AC8B99C-19F1-4865-8D81-8BB338AD8D16 -title Team7 -databaseserver projtest2 sharepoint2010 -databasename SP2010_Team7 The problem is the site template id. Well I have tried know the farm solution way, but my Farm Solution is not listed under get-spwebtemplate. As a farm solution I can see the SolutionID thats perfect, so I tried the following: STEPS (1) PS C: Users spadmin2010> get-spsolution Name SolutionId Deployed ---- ---------- -------- my2007collaborationsite.wsp 1a03c5e6-e5e3-4d7c-a3f9-298f00bf4f16 True (2) stsadm -o createsiteinnewdb -url -owneremail -ownerlogin staff2 spadmin2010 -sitetemplate _GLOBAL_# 1a03c5e6-e5e3-4d7c-a3f9-298f00bf4f16 -title Team7 -databaseserver projtest2 sharepoint2010 -databasename SP2010_Team7 but this is still not working. See below Microsoft Help to createsiteinnewdb Valid values available in a default installation include: • STS#0: Team Site • STS#1: Blank Site • STS#2: Document Workspace • MPS#0: Basic Meeting Workspace • MPS#1: Blank Meeting Workspace • MPS#2: Decision Meeting Workspace • MPS#3: Social Meeting Workspace • MPS#4: Multipage Meeting Workspace. 【Premium Website Templates】 Browse web templates designed and developed by experts. Template monster has got the best wordpress template in the market. I was trying to use stsadm to create a SharePoint 2007 site collection using the createsiteinnewdb operation. I specified the site template name using the -sitetemplate switch but I kept getting the following error: File or arguments not valid for site template [template name] Here's the full command I was using. Category: createsiteinnewdb; STSADM. Title: Create Site in new database using createsiteinnewdb. Code: stsadm -o createsiteinnewdb -url -owneremail [email protected] -sitetemplate sts#1 -title 'My Site Title' -databasename Create_Under_This_DB -ownerlogin NTLogin Admin. John Ruby's IT Blog. Createsiteinnewdb: will Create a site at the specified Uniform Resource. The owner can choose a template when he or she first browses to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2018
Categories |