Welcome to MSDN Blogs Sign in | Join | Help

Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

   In order to meet our localization deadlines, we were a bit too hasty in documenting the installation instructions for the 20 server admin Application Templates, which were released only 2 days ago. Our bad for that, and we appreciate how quickly some of you in the SharePoint community let us know about your disappointment. J But I was very pleased to see people helping each other to get past the installation issues, and in particular I’d to like thank Dustin Miller, SharePoint MVP, for compiling and posting the workarounds.

 

   We know that we have to do better than to just let this one slide, so here’s the officially updated Installation Guide. We'll get this formally posted as a KB article or somewhere on TechNet as soon as possible. We've also sent this to our localization teams. If you run into any additional issues or problems, please leave a comment here.

 

=========================================================

To install the Application Template Core solution:

=========================================================

 

To deploy the Application Template Core solution on a server running Windows SharePoint Services, follow these instructions below. Note that in order 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.     Download the solution .EXE file to your computer.

2.     Run the .EXE file to unpack the template file to a location on your computer.

3.     Select the solution file, ApplicationTemplateCore.wsp, from the extracted distribution. This solution file will be added to the Windows SharePoint Services solution store.   

4.     On the Windows command line, run "stsadm -o addsolution -filename ApplicationTemplateCore.wsp".

5.     Next, run "stsadm -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment". Additional attributes may be required based on your Windows SharePoint Services configuration. For example:

·         Standalone: [ -local | -time <time to deploy at> ]

·         Farm: [ -immediate | -time <time to deploy at> ]

6.     Then run "stsadm -o copyappbincontent".

7.     The Application Template Core solution has now been added to the solution store and deployed on the server.

 

=========================================================

To install a server admin Application Template:

=========================================================

 

Each server admin Application Template is deployed in the Windows SharePoint Services environment as a solution. To deploy a solution on a server running Windows SharePoint Services, follow these instructions. Note that in order 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.     Before installing any Application Template, you must first install the Application Template Core solution, ApplicationTemplateCore.wsp. If you have already installed this solution, proceed to Step 2. Otherwise, go here to download the Application Template Core solution and follow the "To install the Application Template Core solution" instructions in the section above.

2.     Download the application template solution EXE file to your computer.

3.     Run the EXE file to unpack the template file to a location on your computer.

4.     Select the solution file, <template_name>.wsp, from the extracted distribution. This solution file will be added to the Windows SharePoint Services solution store.

5.     Via command line, run "stsadm -o addsolution -filename <template_name>.wsp"

6.     Next, run "stsadm -o deploysolution -name <template_name>.wsp -allowgacdeployment". Additional attributes may be required based on your Windows SharePoint Services configuration. For example:

·         Standalone: [ -local | -time <time to deploy at> ]

·         Farm: [ -immediate | -time <time to deploy at> ]

7.     To check deployment status by browsing to WSS Central Administration, click the "Operations" tab and then click "Solution Management" under Global Configuration.

8.     After the solution is marked "Globally deployed," run "iisreset" from the command line.

 

 

<Lawrence />

Published Saturday, February 24, 2007 1:06 AM by sptblog

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Server Admin Application Template문제 해결

불과 몇 시간 만에 MS SharePoint 팀 블로그 에 제가 이야기 했던 문제 를 발견하고 문제 해결법이 나왔군요 ^^; 이 문제는 한글 문제만이 아니었습니다. 영문을 제외한 모든

Saturday, February 24, 2007 12:28 AM by Microsoft Office Sharepoint Server 2007

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Even the new instructions to install the templates might as well be in short hand, can somebody please supply a comprehensive install post that does not assume almost everything?

Sunday, February 25, 2007 7:09 AM by Jimbo

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I know you're not going to translate the templates into Russian. But I'd be happy if could do it myself. If you gave me the nessesary resources I would make the translated templates as free as the original versions. Is this possible?

P.S. I've already completed a fully-functional demo site introducing Russian versions of built-in templates as well as original English versions of other free templates. It also uses the self-registration feature so everyone can try any template "live" using his/her own login.

Sunday, February 25, 2007 10:46 AM by pronichkin

# &quot;Fantastic 40&quot; SharePoint Application Templates!

Lawrence has just posted the completion to the Completing the "Fantastic 40" – 20 remaining application...

Sunday, February 25, 2007 12:00 PM by The Boiler Room - Mark Kruger, SharePoint MVP

# 2007 MOSS Resource Links (Microsoft Office SharePoint Server)

Here is an assortment of various 2007 Microsoft Office SharePoint Server Documentation / Reference Materials...

Sunday, February 25, 2007 12:06 PM by The Boiler Room - Mark Kruger, SharePoint MVP

# Sharepoint Application Templates Now Available

All 40 application templates are now available for download from Microsoft, this is composed of 20 Site...

Monday, February 26, 2007 12:51 AM by MdP's MOSS Blog

# SharePoint Application Templates

Monday, February 26, 2007 9:33 AM by Cvalikov blog

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I get an "Object reference not set to an instance of an object" error when I try to add the applicationtemplatecore.wsp using the stsadm - o addsolution command.

Also, what does step 3  "Select the solution file, ApplicationTemplateCore.wsp, from the extracted distribution". mean? Does this mean that you select the file and copy it somewhere specific, or does it just mean that you note the file name for use in your command line statement?

I'm sure I'm missing something very obvious, but it's pretty frustrating.

Tuesday, February 27, 2007 2:23 AM by MadMike

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Hey Mike,

What I did was copy the applicationTemplateCore.wsp file into the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN folder. Then run the command line. Not sure this is the technically correct way for the app to find the file, but it worked for me.

Tuesday, February 27, 2007 1:21 PM by Leanne

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I'm trying this, too, and keep getting the error:

"ApplicationTemplateCore" does not exist in the solution store.

after the deploysolution step.

Does anyone know what is causing this?

Tuesday, February 27, 2007 2:50 PM by Mike H.

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I copied the files to the BIN directory as Leanne states but get the following:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o addsolution -filename ApplicationTemplateCore.wsp

Operation completed successfully.

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o deploysolution -name ApplicationTemplateCore -immediate -allowgacdeployment

"ApplicationTemplateCore" does not exist in the solution store.

Where is the solution store?  I assumed that it was in the SQL Server, but can't find it there anywhere.

Tuesday, February 27, 2007 3:00 PM by mjhritz

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

We have a standalone WSS 3.0 server.

I followed the updated installation guide and it worked without a hitch.

I didn't even have to run steps 7 and 8 to install the server admin application templates.

I followed the included readme_stp to install the .stp files without an issue either.

Tuesday, February 27, 2007 4:38 PM by mjcarrabine

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

My problem was that ours is a farm installation and I didn't have appropriate rights to our SQL Server box. Once that was changed, everything installed clean. The documentation does say "Note that in order 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." Perhaps that should be modified to say that in a farm installation, you need rights to the SQL Server database as well.

Tuesday, February 27, 2007 7:26 PM by MadMike

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I've tried everything but I get a very informative "Command line error" error message when I run the first command (ie addsolution). I tried copying the files to the BIN folder, I hve admin privelages, etc, etc...nothing.

So, basically, I'm giving up on these templates. Oh well.

Tuesday, February 27, 2007 9:05 PM by Jack

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

The clarification of "Additional attributes may be required"... in the revised version helps - Thank You.  I still don't get what "Select the solution file"... was meant to convey to the reader?

Wednesday, February 28, 2007 9:59 PM by Jose

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Anybody got an answer to the very good questions above. I think the documentation is very poor indeed including the above updated version

Saturday, March 03, 2007 10:53 AM by Sean Wells

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I had same probles as you two above.

Solution for me was to have stsadm folder in a path

c:\program ...\common files\microsoft shared\12\web ...\12\bin

AND !!!!!!

close and open again command prompt

Path is rerun after opening a new cmd window

Hopes this helps

Monday, March 05, 2007 5:15 PM by mrfac

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I cannot make sense of step 3 and running step 4 produces syntax error. I have tried to place the WSP file in various locations and specify the path after the -filename including the ..\bin location(no path as others have suggested) without success. is there specific location the ATC.wsp needs to be placed after extraction?

What is the point of selecting something but not doing anything with the file??

Tuesday, March 06, 2007 11:08 AM by Infodon

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

For those who get "ApplicationTemplateCore" does not exist in the solution store error, it is supposed to be "ApplicationTemplateCore.wsp". Try the following command

stsadm -o deploysolution -name ApplicationTemplateCore.wsp -local -allowGacDeployment

Thursday, March 08, 2007 1:55 AM by Bala

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Hi...

I got command line error weverytime I paste the thinggy....to addsolution....it sux...

Think i got the addsolution to work,,,

must type in manually instead of pasting

STSADM.EXE -o addsolution -filename ApplicationTemplateCore.wsp

take note it is caps in front...wonder why....

I got STSADM.EXE -help addsolution to work 1st before trying this out....

=)

Friday, March 09, 2007 1:38 AM by Tony

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

What exactly is the "Application Template Core" ?   What does it do?   Does it install all the templates or do I then have to install each, one by one.   Is it a requirement to installing any other template/solution?

Friday, March 09, 2007 12:40 PM by John Bailo

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Hi I've downloaded the 40 templates for Windows Sahrepount Services 3.0 but when I want to Install them I kind of get lost :P the problem I have is with the step: "Pull the solution file, ApplicationTemplateCore.wsp, from the extracted distribution. This solution file will be added to the solution store, a table in the Windows SharePoint Services configuration store that holds solution files." So then I can "Via command line, run stsadm –o addsolution –filename ApplicationTemplateCore.wsp", please cpould you help me I have really no idea on what is the solution store...please some help .... my mail es johana85@gmail.com. I would really appreceate some help.

Monday, March 12, 2007 6:20 PM by Johana

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I am also wondering how to translate these templates to other languages. I've created a Norwegian version of the tsa.resx file, and I'm trying to make the template available in Norwegian. How can I do it?

Wednesday, March 14, 2007 5:18 AM by Kaisa M. Lindahl Lervik

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

 I installed all 20 server admin templates

and it opration sucessful

bot application tab for template selection not seen in the tab section

but i installed site admin templates and custom tab for this template selection see on the tab

please help and give a solution

Friday, March 16, 2007 1:04 AM by ashraf

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

^^

Ensure you check "Central Administration->Operations->Solution Management" to ensure the web parts have been deployed.  If the status still reads "Deployed" then you need to wait.

Monday, March 19, 2007 2:25 AM by Adrian

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

If anyone is having the problem where the jobs just sit in the Solutions Managment page and do not get deployed, try executing this command:

stsadm.exe -o execadmsvcjobs

Wednesday, March 21, 2007 2:21 PM by Kyle

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

My installation of the 20 server templates went without a hitch...

What we DO need is directions on exactly how to use each one!  The one paragraph description of the general function is not adequate for our users.

Good work though!

Wednesday, April 04, 2007 5:57 PM by miniplayer

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

When I add the .WSP Templates to the WSS system, it won't register the template with a Template ID. Like:

SportLeague - Language: 1033 - Site Template: _GLOBAL_#0 - Template Id: 1

I use _GLOBAL_#0 to provision WSS sites. Can this be done? Because when I use "stsadm -addtemplate -filename <template.wsp> -title <Template Title>" I'm getting a Parse error.

Mark

Tuesday, April 10, 2007 6:53 AM by Mark Reijn

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

How can I give the solutions (.wsp) a Template id like the .SPT files.

SportLeague - Language: 1033 - Site Template: _GLOBAL_#0 - Template Id: 1

TimecardManagement - Language: 1033 - Site Template: _GLOBAL_#1 - Template Id: 1

But the wsp templates are not listed? How can I fix that? Because I want to provision (MPS) the WSS Sites with the template codes.

Tuesday, April 10, 2007 7:58 AM by Mark

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Well I installed a template. And according to sharepoint it was fully deployed. Even when I look in sharepoint I see that it states that it has been deployed. So I thought well everything is okay, well no. As stated I can now create a new site with this template. So I follow the instructions to create a site with the new template but as soon as I click create it starts ratteling and then I get an error message that has more letter and numbers in it then I can write down. And that is all I can find on the error. Even in the log it just states the error. I just can not find out what the error means. Anyone got any suggestions?

Friday, April 13, 2007 4:23 AM by Darren

# 2007 MOSS Resource Links (Microsoft Office SharePoint Server)

Here is an assortment of various 2007 Microsoft Office SharePoint Server Documentation / Reference Materials

Wednesday, April 18, 2007 2:25 PM by The Boiler Room - Mark Kruger, SharePoint MVP

# Sharepoint Application Templates Now Available

All 40 application templates are now available for download from Microsoft, this is composed of 20 Site

Thursday, May 10, 2007 8:32 PM by MdP's MOSS Blog

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

When trying to deploy the core template, I get an error:

Last Operation Result: The installation of features failed during deployment of the solution.

Last Operation Details: MYSERVER: SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0xc4be8fc; actual: 0xfc83ff9e). It occurred during a read of page (1:552) in database ID 5 at offset 0x00000000450000 in file 'C:\WINDOWS\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\SharePoint_Config_eb73a364-4f20-4035-9cc9-1381fa131252.mdf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.

Friday, May 11, 2007 7:05 AM by Pauli

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

These are the worst instructions I have ever seen.

Point

3.     Select the solution file,

[What does this mean? Select the file? Right click? Click on?? Nothing works......]

ApplicationTemplateCore.wsp, from the extracted distribution. This solution file will be added to the Windows SharePoint Services solution store.    

[How can it be added if you can't select it??]

4.     On the Windows command line,

[Where is this???? Do you mean - Click The Start Button? Then Run? Then Type the Command? Still dosen't work.]

run "stsadm -o addsolution -filename ApplicationTemplateCore.wsp".

As I said - worst instructions ever.

Tuesday, May 15, 2007 1:44 AM by Annoyed

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I too am getting a "command line error" message.

I have set up the path environment variable and am using the below.

stsadm –o addsolution –filename C:\SharepointApplicationTemplates\ApplicationTemplateCore.wsp

Can anyone see any reason why it wouldn't work?

Tuesday, May 22, 2007 2:40 PM by Martin

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Thank you Bala - my error was "Command line error." but your line worked!!!!

BTW: I had also copied the wsp file(s) to the bin directory and was running the command prompt in bin.

Once again, MS people should be dragged out into the sunlight every few months and forced to breathe real-world air.  How farking hard is it to write an instruction set for a *clean* SPS 3 install???

Wednesday, May 23, 2007 9:03 AM by David

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

BTW: these were the commands I ended up using (for Core and all the others I added):

stsadm –o addsolution –filename ApplicationTemplateCore.wsp

stsadm -o deploysolution -name ApplicationTemplateCore.wsp -local -allowGacDeployment

stsadm -o copyappbincontent

And in case you didn't know, you can do addsolution / deploysolution for all the files, then do copyappbincontent just the once.

Wednesday, May 23, 2007 9:54 AM by David

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I've only been doing Sharepoint stuff for about a month now, so I guess I could have a fresh spin on this as I did also struggle....

When it says you have to run the command:

stsadm –o addsolution –filename ApplicationTemplateCore.wsp

What it is taking for granted is that you have added the file path to stsadm.exe into your Envirnmental Variables of windows. To do this follow these steps:

click START>CONTROL PANEL>SYSTEM

on the system properties page click the ADVANCED tab at the top, then at the bottom click ENVIRONMENT VARIABLES.

On the new window (Environment variables funnily enough) under SYSTEM VARIABLES scroll down until you see the entry for PATH. Click PATH and then EDIT underneath it.

Leave the VARIABLE NAME as it is and scroll to the end of the VARIABLE VALUE entry. at the end add the following (including the ; symbol)

;C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WEB SERVER EXTENSIONS\12\BIN

What this does is let you run any executables in that folder from any other folder in a command line :0)

Friday, June 01, 2007 4:33 AM by James@Lincoln

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I received the "Command line error" and like a user above was pasting the command. Once I typed the command it worked as it should.

Tuesday, June 26, 2007 10:52 AM by Jamie Isakson

# 2007 MOSS Resource Links (Microsoft Office SharePoint Server)

2007 MOSS Resource Links (Microsoft Office SharePoint Server) Here is an assortment of various 2007 Microsoft

Tuesday, June 26, 2007 10:56 AM by The Boiler Room - Mark Kruger, Microsoft SharePoint MVP

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Hi Guys,

only just tried to follow the instructions today

got the "command line error" and googled to this blog to find a solution. Having read to the bottom, the penny dropped: the original instructions must have been typed up in Word with "Replace Hyphens(-) with dashes" selected in the Autocorrect Options.

When the command was pasted into the command prompt window, the ascii codes for (en) dash were unrecognized.

Overtyping them with standard hyphens does the trick

Tuesday, July 03, 2007 11:29 AM by Kevan Broderick

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

"Command line error" ..... TOO BAD........ :(

Wednesday, July 04, 2007 11:05 PM by BUTNANA

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Thanks for the explanation about the command line error. It works!

Tuesday, July 10, 2007 5:51 AM by Àlex

# Application Template Core Problem

I've installed an Application  Template Core Solution but have an error while deploying it. Maybe in the server farm config. I've tried to uninstall it but it still in the system. I've tried uninstalling the sharepoint and the .net itself, but still, when i've installed the application template core, it produces an error sayin that the application template core is running. How can I uninstall this application template core completely. ? Please help.

Tuesday, July 17, 2007 4:41 PM by sr_direkco

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

James@Lincoln - you are a genius!

For those that are encountering the 'missing operation' errors despite following the instructions to the letter....read James' comment as it is guaranteed to do the trick!

Wednesday, July 18, 2007 6:10 AM by Chris

# "command line error" FIX

"command line error"

I had the same problem.

More then likely you are using the wrong command.

The command is CaSe SeNsItIvE!

when you T-Y-P-E the command stsadm, make sure it is ALL CAPS!

STSADM.exe -----------> CORRECT

stsadm.exe -----------> NOT CORRECT

Also, make sure you are in the right folder:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm

Thursday, July 19, 2007 2:08 AM by dataNinja

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Thanks dataNinja.

Case sensitive commands under Windows Servers.

I like it.

Wednesday, August 08, 2007 3:08 PM by Koki

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I want to remove the ApplicationTemplateCore and do the reinstall again.  How is that done?

Wednesday, August 08, 2007 3:25 PM by systemsgal

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Thanks Kyle for the solution.  My template core was just sitting there with an error and never got deployed even though I followed the instructions correctly.  Now everything looks good so I need to add the templates. Thanks...

Monday, August 13, 2007 11:34 AM by al morones

# Commnad line error

STSADM.exe and dont cut and paste..

thanx everyone

Wednesday, August 15, 2007 9:51 PM by Bega

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I followed the instructions and installed the wsp templates fine in a virtual machine, but, when I followed the same process on our development network the templates would not show when creating a new site :-(

So a big thank you to Kyle for the solution to run:

stsadm.exe -o execadmsvcjobs

which solved my problem.

Monday, August 20, 2007 8:11 AM by Pete

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I have deployed the core, first under -immediate, then redeployed under -local.  When I run enumdeployments I get 0 returned, and the application tab is not present when creating sites.  ApplicationTemplateCore.wsp is globally deployed in the admin console.

I'm at a loss on how to proceed.  Any ideas?

Friday, August 24, 2007 11:19 AM by Trevor Talbert

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I also am having trouble. I followed the instructions to a tee but when I go into Central Administration->Operations->Solution Management my applicationtemplatecore.wsp has Error for the status. Can someone please help. Thanks.

Wednesday, August 29, 2007 11:45 AM by Kenneth

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I had the same command line error problem, the solution for me was to execute stsadm within the directory where ApplicationTemplateCore.wsp was located.  The command stsadm -o addsolution -filename c:\tmp\ApplicationTemplateCore.wsp doesn't work.

Thursday, September 06, 2007 11:09 AM by Haraldur Víðisson

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I Have It i think.

This sounds silly but by making the EXE on the end of STSADM capitals it works!!

eg: STSADM.EXE -o addsolution -filename ApplicationTemplateCore.wsp

WORKS!

STSADM.exe -o addsolution -filename ApplicationTemplateCore.wsp

FAILS!?

Crazy eh

Thursday, September 06, 2007 11:31 AM by Simon

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

So there are a few issues here:

1. if you are not a developer or a sys admin - which alot of times Sharepoint people are not, you probably don't know about the commandline and directory paths etc... (unless you had a commador 64 as a kid) so the whole thing about the environment variable and having the wsp file in the same directory as the STSADM.EXE file - might be a bit hard to grasp but if you read about environment vars and running batch files you will get it. Basically this is the deal:

The wsp file needs to be in the smae location as the stsadm.exe file and you need to be in the dir where they are when you give the command.

2. There is also the issue with the "typing" the command rather than pasting it. That part is critical - the paste seems to mess up the hyphen character. - So once I fixed all the hyphens in my bat file - things worked great!

Yes the documentation leaves a bit to be desired but it's really more a matter of understanding what you are trying to do.

The first statement

STSADM.EXE -o addsolution -filename ApplicationTemplateCore.wsp seems to be putting the solution into the "store" (whatever that means)

the second statement

STSADM.EXE -o deploysolution -name ApplicationTemplateCore.wsp -immediate -allowgacdeployment

is then deploying that solution - I had to put the full path to my wsp file in the first statement - but NOT in the deploy statement

here is what my bat file looks like:

FOR THE TEPMLATE CORE

STSADM.EXE -o addsolution -filename ApplicationTemplateCore.wsp

STSADM.EXE -o deploysolution -name ApplicationTemplateCore.wsp -immediate -allowgacdeployment

and FOR THE TEMPLATES:

STSADM.EXE -o addsolution -filename wsps\AbsenceVacationSchedule.wsp

STSADM.EXE -o deploysolution -name AbsenceVacationSchedule.wsp -immediate -allowgacdeployment

The wsps\ bit is because I put all the wsp files in a directory  named wsps notice that it is missing from the deploy statment - because that one is looking for it by name in the "store"

Hope this helps instead of making it more confusing

Monday, September 24, 2007 3:15 PM by paisleygo

# STSADM “Command Line Error”

Today I was deploying a solution to my server through the command line. After pasting command that I

Saturday, September 29, 2007 12:14 PM by Mirrored Blogs

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Just a quick note, well done on the hyphenation thing.  solved the problem

Thursday, October 04, 2007 4:07 AM by craicit

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

In my restoration command, there is a %20 in url and m getting command line error. Retyping didn't work what could be other work around. The stsadm command id like

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsa

dm -o url "http://devserver:12935/departments/Business%20Technology" -filename D:

\temp\company\BackupMOSSportal\backup_BT.bkp

Thursday, October 18, 2007 2:54 AM by Prabhat

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Hi Prabhat,

You are getting command line error because the %20 is interpreded by the command line as a parameter; instead replace the whole %20 with an space like this:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o restore -url "http://devserver:12935/departments/Business Technology" -filename  D:\temp\company\BackupMOSSportal\backup_BT.bkp

That should work...

Wednesday, October 31, 2007 4:46 PM by Santiago Aulestia

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Finally what helped to us is as following:

1)Download the solution .EXE file to your computer.

2)Run the .EXE file to unpack the template file

to a location on your computer.

Copy ApplicationTemplateCore.wsp file in to

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN location

3)Click on Start

4)Click on Run

5)Type Cmd

6)Type CD C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN

7)Type(Don't paste, that would not work)following command

STSADM.EXE -o addsolution -filename ApplicationTemplateCore.wsp

Enjoy!

Pankaj.sharma@kairaus.com

Kairaus

Thursday, November 01, 2007 9:08 AM by kairaus

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I have this problem where when I try and load a template, it gives me the following error:

Object reference not set to an instance of an object.

d:\templates\applicationtemplatecore.wsp: The Solution installation failed.

I see this is a little bit common, but no one seem to know how to fix it, can someone help?  Thanks!

Friday, November 02, 2007 10:18 AM by John Truxton

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I put a capital in mine - that is the way it is spelled in the directory.  The command is case sensitive.

Friday, November 16, 2007 2:25 PM by Dan Fraser

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

After following all of the tips, I am still receiving errors. the addsolution operation is not even an option when I request help. There is addpath or addtemplate, but no addsolution. Any ideas?

Monday, November 26, 2007 1:29 PM by J

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

After reading all the comments and following all the instructions, both the app Template and the Template I am trying to install appear as 'Deployed' in the Solutions Management.  When I run the execadmsvcjobs, it Executes and says "Operation completed successfully."  However, when I try to create a new site, there is no Application Templates Tab.  What should I do?  Is this an Enterprise feature?  Does it work in the Trial version?

Tuesday, December 04, 2007 8:58 PM by Matthew T

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Command Line errors here too, seems pasting command in is nto a good idea, typing them in works. Go MS!! Programming Idiots! They need to work in the real world once in a while.

Wednesday, December 12, 2007 10:22 AM by Keith

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

How do we get the files in the right places if we have a side-by-side install of WSS 2.0 and 3.0 as instructed for SBS 2003?  We did as directed and it crashed the 2.0 site.

Friday, December 14, 2007 3:15 PM by Nick Van Laar

# SharePoint stsadm.exe and the infamous "Command Line Error"

The SharePoint command-line utility stsadm.exe was driving me crazy for the last two days. I'm automating

Friday, December 21, 2007 7:11 PM by Serge van den Oever [Macaw]

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Please people, don't think it is the difference between STSADM.exe and STSADM.EXE why you have trouble with adding the solution. It also isn't that the .wsp file must be next to the stsadm.exe applicaiton. It is character encoding....

See http://weblogs.asp.net/soever/archive/2007/12/22/sharepoint-stsadm-exe-and-the-infamous-quot-command-line-error-quot.aspx for more information.

Friday, December 21, 2007 7:15 PM by Serge van den Oever [Macaw]

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

making the stsadmin to upper case work for me..

STSADM.EXE -o addsolution -filename ApplicationTemplateCore.wsp

Strange, why case should be a problem in WINDOWS that too in EXE file????

Sunday, January 13, 2008 7:03 AM by Ajay Lulia

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I saw my solution deploying in Central Administration/operation/solution management but it doesn't get deployed. Any idea why is this happening?

PS:I used the deploy cmd line already.

Friday, January 18, 2008 2:27 AM by Marcus

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Kevan Broderick Thanks, you has solved the problem in my case, replacing the "-" works fine! ;)

Friday, January 18, 2008 7:21 PM by farder

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

For everyone receiving the OBJECT REFERENCE error, I have a solution that worked for me...

It seems the user running the STSADM command MUST have full control access to the ADMIN_CONTENT database on the SQL server.  I had our SQL admin grant my domain user account full control privs on the Admin Content database and reran the script and all subsequent stsadm.exe command lines successfully!  

Thursday, February 07, 2008 10:56 AM by ksat

# Must have been a Linux developer wrote STSADM

It's case sensitive for the executable.

Must have been a Linux developer wrote STSADM.  

STSADM.EXE -o addsolution -filename ApplicationTemplateCore.wsp

Wednesday, February 13, 2008 6:16 PM by bstein

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

I saw some questions related to my problem but didn't find any answer. I am having problem with the addsolution operation since it is not a known operation for stsadm.exe. Any idea?

thanks in advance.

Tuesday, February 19, 2008 7:30 AM by France

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

It is case sensitive and after deploying the templates it should be activated at Site Action > Site Administration > Site features....

But I have one more question. How to get User Login Name in Form Authenticated site using WSS object model. I am getting the login name in SPUserCollection, but not the logged-user Name.

Tuesday, April 29, 2008 9:50 AM by Brajendu Das

# It's a copy paste thing

If you paste from the readme file it will include characters that are not proper ASCI, either copy it from notepad then paste into run before copying again, or type it manually.

Friday, May 16, 2008 8:30 PM by Adam Yax

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

"addsolution" is not a valid option for my stsadm.exe, STSADM.exe or STSADM.EXE file.   Of course they're all the same file. ;)

I have "addalternatedomain", "addpath", "addtemplate", "adduser", "addwppack" and "addzoneurl" but "addsolution" is not part of my particular exe file according to its own help statement.

how is it that MY fresh install of SBS2003 and subsequent upgrade to Sharepoint 3.0 doesn't have a /12/ directory either?  Mine is /60/bin/ to find the stsadm.exe file.  

why oh why must MY installations always be THE EXCEPTION?   WTF where is my /12/ directory?   I have /50/ and /60/.   nothing more.

Tuesday, May 20, 2008 4:50 PM by Sean

# re: Updated Installation Guide for the 20 server admin Application Templates for WSS 3.0

Post "Friday, March 09, 2007 1:38 AM by Tony"

helped me to get out of this addsolution hell thanks a lot Tony.

Tuesday, July 22, 2008 3:28 AM by Rizwan

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker