Welcome to Office & SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

Adding site as template

Last post 08-12-2008, 10:17 AM by mmfriederick. 3 replies.
Sort Posts: Previous Next
  •  07-14-2008, 12:59 AM 29848

    Adding site as template

    I have created a custom template and deployed it on the central admin.It is being shown under the custom tab and I am able to create sites using it also. but when I sent the same template to be deployed on the production environment, it got deployed from the command prompt. Operation successful and iisreset done. But when trying to create a new site using the template, it is throwing an error saying ::  "The template you have chosen is invalid or cannot be found".

    what could be the possible problem?

  •  07-14-2008, 8:53 AM 29852 in reply to 29848

    Re: Adding site as template

    Hi mate..

    if you have a custom .stp file you just need to run STSADM with the addtemplate operation...then IISreset, the template will be available for the whole farm under the custom tab

    Syntax

    stsadm -o addtemplate

       -filename <file name>

       -title <title>

       [-description] <description>

    Hope that helps..

    AJ..

  •  07-15-2008, 12:37 AM 29855 in reply to 29852

    Re: Adding site as template

    HI,

     THANKS FOR YOUR RESPONSE, ACTUALLY I DID THE SAME THING WHAT YOU MENTIONED, BUT THE PROBLEM IS WHENEVER I'M GOING TO SELECT THE CUSTOM TEMPLATE TO CREATE A SITE IT'S SHOWING SAYING THAT "THE TEMPLATE IS NOT FOUND OR INVALID" ANY CLUES ON THIS?DO WE NEED TO ACTIVATE ANY FEATURES OR ANY CUSTOM SETTINGS?

     

    THANKS IN ADVANCE

    ALTHAF HUSSAIN K

  •  08-12-2008, 10:17 AM 29971 in reply to 29855

    Re: Adding site as template

    I had the same problem no matter what I tried.  I don't know if this relates to your problem but here is what I did:

    1)  installed the applicationCore.wsp, Bugdatabase.wsp and the Knowledgedatabase.wsp site templates on environment #1.

    2)  Created a site based off of both of the site templates

    3)  Created a new "site template" based off of both of these sites.

    4)  Copied and deployed these new site templates to another environment and did an IIS reset.  (didn't work because the templates that I based these new site templates were not on the new environment.)

    5)  installed the same application templates as in #1 on the environment #2, and created sites based off of the new templates under "Custom" tab.

    Hope that help.  The instructions don't give you much information about this.

View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management and deployment capabilities with this free SharePoint CD. You’ve Deployed SharePoint…Now What?This one-day free online conference delivers the technical knowledge needed to kick MOSS up a notch. In one information-packed day, independent SharePoint experts will present practical, real-world information and provide take-away, ready-to-use solutions Ease Your Scripting Pains with the Flexibility of PowerShell!Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer! Protecting Sharepoint with Double-Take for Windows 5.0Providing SharePoint recoverability is a two step process. Learn those steps now. Vendor protection solutions for SharePoint are incomplete at worst and unreliable at best. So what’s an Administrator to do? Read More… Maximize Your SharePoint Investment This web seminar discusses how true bi-directional replication of SharePoint content from one server to another enables branch offices to maintain access to current SharePoint content.