Monday, October 13, 2008

Fantastic 40 Application Templates WSS3.0 / MOSS

1>Download templates from following links
Windows SharePoint Services 3.0 Application Template: Application Template Core
http://www.microsoft.com/downloads/details.aspx?familyid=C1039E13-94DA-4D7D-8CAE-3B96FA5A4045&displaylang=en
Windows SharePoint Services 3.0 Application Templates: All Server Admin Templates
http://www.microsoft.com/downloads/details.aspx?familyid=AAE4CB5A-91D2-4F1B-9A45-3BB894E218F8&displaylang=en
Windows SharePoint Services 3.0 Application Templates: All Templates
http://www.microsoft.com/downloads/details.aspx?familyid=5807B5EF-57A1-47CB-8666-78C1363F127D&displaylang=en
2>Extract ApplicationTemplateCore.wsp to C:\ drive
3>Open command prompt browse to C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\bin>
4>Run following commands
stsadm -o addsolution -filename C:\ApplicationTemplateCore.wsp
Expected output: Operation completed successfully.



stsadm -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment -immediate

(Additional attributes may be required based on your Windows SharePoint Services configuration. For example:Single Server: [ -local -time
6>Similarly we can deploy other application templates for example we deployed ITTeamWorkspace template

stsadm -o addsolution -filename C:\ITTeamworkspace.wsp
stsadm -o deploysolution -name ITTeamworkspace.wsp -allowgacdeployment -immediate

7> All deployed templates can be found at Central admin>Operations>Solutions Management

8> To use a template in SharePoint Site

1. Log into your SharePoint site as the site Administrator.
2. From the Site Actions drop-down menu in the top right, select Site Settings.
3. Under the Site Administration section, select Sites and Workspaces.

4. Select Create to create a new site using a site template.

5. Complete the new SharePoint site information. In the Template Selection section, select the Application Templates tab.

All deployed Application Template will be listed in this tab.

6. Select the template to use for this site and click Create.

7. A site has now been created using the application template.

8> To remove an Application Template solution:
Note: To complete the following installation, you must have Administrator rights to both the Windows SharePoint Services site and server on which it is to be installed.

1. As Administrator, access the server. Removal is done via the command line utility stsadm.
2. To retract a solution from being available to SharePoint sites, run "stsadm –o retractsolution –name .wsp".

Additional attributes may be required based on your Windows SharePoint Services configuration.

9>Central admin>Operations>Solutions Management status of template changes to "Not Deployed"

Note: sites created from a solution will not function after the solution has been retracted.
Sites based on the template will give following error
404 NOT FOUND

10> If we try to redeploy the template with same command we get following error



After adding -force parameter the template is deployed successfully



Central admin>Operations>Solutions Management>Template status is still Not Deployed

11> IIS Reset & redeploying template did not help.
12> Copied ITTeamworkspace.wsp to G:\ drive & redeployed template still status is Not Deployed.

13> Rebooted the server still status is Not Deployed.
14>Redeployed the template this time it worked & status changed to Deployed.
15> The site based on the template also loaded successfully.

No comments: