Unable to create sharepoint site from migrated site template(.wsp) - sharepoint

I have subsite (sharepoint2010) which consist of some custom feature and which has been migrated from sharepoint 2007, I save this site as a site template (in dev environment), when I try to create a site base on that site template in production (it is havig all the updated solution) it was not able to create the site,I check the log and found the following error:
No document templates uploaded for list "$Resources:core,MasterPageGallery;" -- none
found for list template "100"
The logs are written below against the correlation ID
and Failed to apply template "STS#1" to web at URL
Failed to activate site-scoped features for template 'STS#1' in site
0x1A7C SharePoint Foundation Feature Infrastructure 889y High The element of type
'Module' for feature '1324A_Test_NLModules' (id: cd6559bc-d107-4609-baa2-c0582c63351b)
threw an exception during activation:
System.Runtime.InteropServices.COMException (0x80020009):
where '1324A_Test_NL the name of the template.
Although I can create site based on the same template on my development environment.
I have already activated the the PublishingInfrastructure feature, in my site collection features gallery and deleted unnecessary document from one of the document library in the site. Can anyone suggest what will be the resolution?

Related

Unknown Error -2146233088 Pnp Provisioning Template

I am try to apply Provisioning template to SharePoint online team site. I have created different templates for different schemas of sites.
While I am applying Site Fields template I got an error for duplicate site column so I have modified the template and removed duplicate columns from the template using CSOM Code.
Click to see image

Not able to create site using site template - SharePoint 2013

I have created SharePoint Site, from which I created a site template, now I need to create similar sites under same site collection using the Site Template. In order to automate this functionality I created the Site Template and try to create new sites from this template using SharePoint Designer Workflow using web services. But while performing this am getting below error.
"The site template requires that the Feature {bf8b58f5-ebae-4a70-9848-622beaaf2043} be installed in the farm or site collection"
To troubleshoot this issue I tried to create the site using the same site template manually, which am able to perform successfully.
I found that above GUID {bf8b58f5-ebae-4a70-9848-622beaaf2043} refers to Power View feature, which I found activated in my site collection, But am not using any power view related functionality in my application.
I would be grateful, if anyone let me know how to resolve this issue.
It seems like the issue is with the template. That error is saying before you create the site template, enable that feature at the site level on the template site before saving the site as a template. I had a similar use case about a year ago to automate all our private team site creation. I found this article very useful.
https://sharepointryan.com/2013/09/10/create-a-sharepoint-site-spweb-using-rest-in-spd-2013-workflow/
In the dictionary for the json request, set WebTemplate to the template / solution ID from your site collection.
Hope it helps.

SharePoint 365 - Site Templates

I've recently create a site template on our SharePoint online environment which did originally have site publishing features enabled. This was done by setting the appropriate flag to enable saving as a template and then using the url /_layouts/15/savetmpl.aspx to save it.
When creating a site from this template i get intermittent errors indicating something went wrong but with no further detail other than a correlation ID. It's not every time and it happens occasionally when using the site.
A couple of questions on this.
a) What with the publishing infrastructure is not supported within Site Templates.
b) What is the best approach to create a custom site template where i can have a custom front page containing web parts and content, based on the publishing page layouts. I've searched through a significant number of posts online and cannot find a definitive answer to this.
Any help is much appreciate. Thanks in advance.
Grant
Please follow the below steps to create Site using custom template :
1.Firstly create site using custom template and select "upload site template later" or "upload solution later".
2.Then go to your created site and firstly enable publishing feature before uploading your site template to the solution gallery.
3.After that just go to the "Solutions" under "Web Designer Galleries" and upload your "Site template".
4.Now go to Site settings and select "Sites and workspaces" under "Site Administration".
5.And you can create your Custom site. you can see your uploaded Site template in Custom tab
Feel free to ask question if you have any doubt.

Unable to Deploy PerformancePoint Dashboard Page to SharePoint 2007

I'm creating a PerformancePoint (henceforth PP) Dashboard that contains a web report to be deployed to the a SharePoint web application that I had created. I followed the instruction in the link below.
Deploy a PerformancePoint dashboard to a SharePoint site
In summary, following the instructions in the link, I published the Dashboard to the PP site. Then, I added my account in PP as Creator in the Application level, Editor in both the Dashboard and the Web Report. In the SharePoint site, I added my account under Contributor. I even added the PerformancePointDefault.master just to be sure.
Now, when I deploy my Dashboard to a Report Library, I was able deploy the folder for the Dashboard, but not the Dashboard Page file.
I googled for this, but I could not find any article helpful.
UPDATE 2009-09-30:
I was able to resolve the issue by creating another site collection. Maybe the first site collection is messed up.
I had the EXACT same problem. I was about to take the best advice I could find and delete my site collection and create a new one from scratch, but by the grace of God, I had one final thought.
In our case, the site created was originally http://ServerName but we later added a host header (i.e. http://BiSite). I had been deploying the dashboard using the host header the entire time, so I decided to try using the original name of the site using the server name and viola, the dashboard finally deployed correctly, pages and all.
When you publish a dashboard in MOSS, you have to make sure that you select Publish a Major Version in the dashboard page's drop-down in the report library.
Why is this a community wiki? Seems like there should be a right answer to this question...

Sharepoint Site Template - Activate dependent features on provisioning

I wish to define a Sharepoint site template that will also include a web part dependent feature. How can I install and activate the web part feature when I provision a site using my custom template?
You can't install a feature when provisioning a site you can only activate it
If your developing a Site Template then you can activate the feature by activating it inside the site you use to create your site template before you save it as a template.
But if this is something that's going to be reused I recommend that you develop a Site Definition instead and in here you can specify which feature to activate both at Site Collection and Site level. You can then package your feature and site definition into the same Solution package then the feature will always be installed when referenced by the Site definition

Resources