Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to install one of the FAB 40 templates for MOSS and I am having some trouble with it. I have run my script to install which is:

stsadm -o addsolution -filename ApplicationTemplateCore.wsp

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

stsadm -o copyappbincontent

pause

stsadm -o addsolution -filename BudgetingTrackingMultipleProjects.wsp

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

pause

From the documentation I have seen I seem to be doing the deployment right. I am wondering if I am missing any Central Admin features, however the ApplicationTemplateCore.wsp file I though was supposed to take care of that. It installs fine, but when I try to make a site off of the new template i get this error

Exception from HRESULT: 0x80040E07 at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML)

Anyone who works with SharePoint knows the wonderfully detailed errors they give (extreem sarcasm used) Any help on this issue would be great Thanks.

share|improve this question
1  
Off topic for this site. You'll get a better response on SharePoint –  Kyle Trauberman Feb 7 '12 at 16:20
add comment

migrated from stackoverflow.com Feb 7 '12 at 17:21

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

I have figured it out (at least for it to work for me). I am still unsure if I am missing anything to keep me from being able to create the site directly through the SharePoint front end. What I had to do was create the site through the stsadm command line.

stsadm.exe -o createsite
        -url <url>
        -owneremail <someone@example.com>
        [-ownerlogin <DOMAIN\name>]
        [-ownername <display name>]
        [-secondaryemail <someone@example.com>]
        [-secondarylogin <DOMAIN\name>]
        [-secondaryname <display name>]
        [-lcid <language>]
        [-sitetemplate <site template>]
        [-title <site title>]
        [-description <site description>]
        [-hostheaderwebapplicationurl <web application url>]
        [-quota <quota template>]

Some of these parameters are required for instance the URL, owneremail, and ownerlogin are required. The ownerlogin is not required if your environment has an active directory that is linked to the owneremail to automatically provide permissions. Here is the script I wrote to get this to work. Notice for the sitetemplate command, I am using the template code of PROJMULTI#0 instead of the name of the template.

C:\stsadm -o createsite -url http://whereyouwantyoursite -owneremail validemailaddress -lcid 1033 -sitetemplate PROJMULTI#0 -ownerlogin domain\username 

then, hopefully you will get this message...

Operation completed successfully.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.