(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 applications?
Lawrence 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!).
- stsadm -o addsolution -filename applicationtemplatecore.wsp
- stsadm -o deploysolution -immediate -allowgacdeployment -name applicationtemplatecore.wsp
- (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)
- Open your browser to Central Administration, click the Operations tab, and then click "Solution management" on the right site, under "Global Configuration"
- 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.
- Back to the command prompt!
- for %f in (*.wsp) do stsadm -o addsolution -filename %f
- 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.
- for %f in (*.wsp) do stsadm -o deploysolution -allowgacdeployment -immediate -name %f
- 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.
