in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

The Dean's Office

Having problems installing the latest 20 sample SharePoint applications?

(UPDATED 2/23: Added -allowgacdeploy to step 2.  I didn't need it, but more than one person posted/contacted me and said that they did, so there it is)

I bet you are! Something slipped by, and if you follow my help here, you should be back on the right track.

What, you haven't heard about these great sample applicationsLawrence blogged about them, and we're hosting working copies of them (you actually have contributor access on our hosted samples, so check it out!).  It's a must-see!

Anyway, back to the topic and hand: Troubles with installation.  Follow these instructions, and you should be golden.  These steps assume that you've already opened a command prompt and navigated to the directory where your WSP files are (and that all of them are in the same directory).  It also assumes that stsadm.exe is in your path.  Finally, these steps assume you downloaded the package that contains all of the server admin templates, since there is a required WSP, applicationtemplatecore.wsp, that seems to be missing from some of the individual downloads.  Unfortunately, you need to register to download the correct package (BOO!).

  1. stsadm -o addsolution -filename applicationtemplatecore.wsp
  2. stsadm -o deploysolution -immediate -allowgacdeployment -name applicationtemplatecore.wsp
  3. (I'm doing these first because they are dependencies, though honestly, you could probably get away with skipping down to step 7, and coming back to step 2 before you run step 9.  If that's not clear, just move on to step 4. :P)
  4. Open your browser to Central Administration, click the Operations tab, and then click "Solution management" on the right site, under "Global Configuration"
  5. Verify that the "applicationtemplatecore.wsp" solution is marked as "Deployed".  If it's not, wait ten more seconds or so, and refresh again to see if it's finished.  Once it's "Deployed", move on.
  6. Back to the command prompt!
  7. for %f in (*.wsp) do stsadm -o addsolution -filename %f
  8. You'll see an error when it tries to add the applicationcoretemplate.wsp solution (since it's already there) -- ignore it.  Once it's done, move on to step 9.
  9. for %f in (*.wsp) do stsadm -o deploysolution -allowgacdeployment -immediate -name %f
  10. And wait.  Go get a cup of coffee.  This can take anywhere from a minute or so with super-fast hardware to ten or more minutes with slower boxes.  When you come back, go back to your browser and refresh that Solution Management page.  Once the timers are finished running -- you might have to refresh a few times over a few minutes to verify this -- you may find some solutions that didn't deploy, or that had an error deploying.  You can re-run the command line in step 9 if you want (you'll just get quick errors on the ones that are already deployed, it's safe to ignore them), or manually deploy the solutions using your browser.
That SHOULD get you rocking. If it doesn't, you can post back here, but please don't use the "Contact" link for tech support. smile

Comments

 

Wingover said:

I found one more step was required.

I had to go to

 Team Site > Site Settings > Site Features    

and then "activate" the features before I could use them.

June 22, 2007 10:08 AM
 

krindges said:

I´m trying to install but in the first step, I receive an error message:

"Object reference not set to an instance of an object. "

I'm a member of the Owners SharePoint group on the SharePoint site and a member of the Administrators group on the server where WSS 3.0 are running.

Any idea?

Thanks.

September 26, 2007 2:07 PM
 

SP said:

I am getting the error

Initialization failure

C:\ApplicationTemplateCore.wsp: The Solution installation failed.

It would be a great help if you can give a solution for the same.

Thanks in Advance

October 23, 2007 3:58 AM
 

Jeff said:

When you add a the applicationtemplatecore does it interrupt the sharepoint sites that are currently running? I was wanting to add the knowledge base but don't want the current sites to quit working during upgrade.

November 7, 2007 2:05 PM
 

muhammedh said:

Works smoothly :D!!!

Thanks!!

January 25, 2008 6:39 AM
 

KSAT said:

Me too...  attempting to install the ApplicationTemplateCore.WSP file results in the same error "Object reference not set to an instance of an object. "

Anyone else have any luck?  How is this resolved?  

Thanks!

February 7, 2008 8:27 AM
 

KSAT said:

OK - As I said, I was also getting the object reference error.  But, this morning, I resolved it.

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!  

February 7, 2008 9:54 AM
 

jmadsen said:

Thanks, worked like a charm. I followed KSAT's advice first and added Domain Admin as sysadmin to SQL instance MYSHAREPOINTBOX\OFFICESERVERS first. Don't know if it was necessary but figured it wouldn't hurt.

July 17, 2008 9:25 PM
 

WILCER00 said:

When I try to install the ApplicationTemplateCore i get the following error:

An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parrent=SPSolution Name=applicationtemplatecore.wsp", depends on thother objects which do not exist.  Ensure that all of the objects depnedencies are created and retry this operation.

Any ideas how to solve this??

July 29, 2008 11:59 AM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts