.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

I transferred a site template from test server to staging and it is not available when creating a ne

Posted By:      Posted Date: October 26, 2010    Points: 0   Category :SharePoint


I transferred a site template from test server to staging and it is not available when creating a new site.

Means i have taken copy of .stp file and uploaded into the diffrent site of another server

while creating the sub site i cannot able to see the uploaded site template

Please let me know, if any one knows the answer




View Complete Post

More Related Resource Links

Creating Lists On Share-point 2010 Server from .stp list template files using Features

Plz, let me know, how to create list on share-point 2010 server from .stp list template files using features in C#

which one is better site template or site collection template for creating site collection?

hi all, i want to create site collection by using custom template. So I created one site and i saved as a template and i want to use this site template to create site collection...can we use site template  or site collection template to create site collections? what is the difference between site template and site collection template? please advise me which one is better..... thanks in advance...

Create a Site template with subsites in Sharepoint Server 2010

Hi, I'm with my first SharePoint project, and we are using server 2010 as a Document Management system. The thing is our company has about 300 customers, and we have to create 300 site collections, 1 per customer.  For each site collection, I use the blank site template, and it's very simple page, as I just need a document library in the home page, and then I need to create a subsite called "cases" and the inside profiles, the users create a document library for each case. For subsite I mean, I create a new site and I choose the option to share the top menu, so basically the site has 2 tabs. So basically what I need is a template that has 2 tabs, Home and Cases. Home with a document library in home and Cases empty. Is there a simple way to achieve this? I guess maybe I have to edit some XML files to create a Site Template. If this is the case, can someone point me to the right documentation. Second, I need to create a Visual Basic project so that the final user has a form, and he just inputs the Customer Name and the code must automatically create a new site with the template I metioned before. I guess that once I have the template this won't be very hard to achieve, as I have seen this SPSite class. The question is, can I have the template with the 2 tabs, o maybe I have to use 2 templates, and write code to create the home site and the Cases Subsite.. Ple

Server Error in Save Site as Template

When I try to save a site as a template, it fails with the following message if I check "include content":     Server Error in '/' Application. ...Any ideas how best to start diagnosing this? The error message recommends that I edit the application's web.config to show custom errors, but, there are 32 web.configs in the sharepoint 14 hive - not sure which one to edit.  The site in question contains one custom list with one custom plain-text column, and one nearly empty page with some text.

Duplicate field name error, creating new site from custom template

I've made a site that maps the site (with a table of contents) and i export it to another site collection. I'm able to install and activate the solution in the other site collection, however when i'm going to create a new site using the site i've installed as a template it pops an error saying "A duplicate field name Wiki_x0020_Page_x0020_CategoriesTaxHTField" was found." I have no clue what this means. Can anyone help me? Thanks in advance

Creating a new site sharepoint 2010 under parent site with my custom template Programatically using

Hi, I have a parent website under which i want to create subsites on the fly using visual studio 2010. The subsites which i want to create have a common stuructre(in temrs of lists & custom). So i saved the template in sharepoint 2010,it becomes wsp and goes into soution gallery. Now how do i use this template say mytemplate.wsp,to create site in visual studio. i tried this using (SPSite site = new SPSite ("http://infml01132:5566/sites/VRND " ))             {                 using (SPWeb web = site.OpenWeb())                 {                                       SPWebTemplateCollection myTemplates = site.GetCustomWebTemplates(Convert .ToUInt32(web.Locale.LCID));                     //SPWebTemplateCollection temlates1 = site.GetCustomWebTemplates(1033);                     //SPWebTemplateCollectio

Saving site as an template, and, creating new site with the saved template.



What is the process to save site as an template and create new site collection using the saved template?



Creating a template from site causes loss of translations


Good day all,

I am using the MUI in Sharepoint 2010 to allow users to choose between English and French on our site. I created a very basic site (just to test my question) on which I created one custom list. I added some columns(bread, cheese, ham chicken), switched the language to french and manually changed the columns to their french equivalents (pain, fromage, jambon, poutlet). Changing the language back and forth causes the column titles to change also accordingly.

However, when I save the site as a template, either with or without the content, only the english versions of the columns are saved into the template. Have anyone run into this before? Any workarounds? I also tried creating the template while in the french version but it didn't make any differnce.

I read a bit about being able to do bulk translations and multilingual term sets, I will try these and post back if I get any results.

Publish and test a WebMatrix web site using a Local Windows Server 2008


I am new to ASP.NET as well as to WebMatrix Beta Razor language.

I am trying to publish and test a Web Site from WebMatrix Beta IDE to a local Virtual Windows Server 2008 IIS Server.

I did install SQL Server Express 2008 R2 at my local Virtual Windows Server 2008 (using Web Matrix Microsoft Web Platform).

Everything works fine till I add a database table to my WebMatrix site.

When I add a database table and Publish to local Virtual Windows Server 2008 IIS Server my WebMatrix IDE

closes unexpectedlly without any error message.

Running my Web Site using WebMatrix IISExpress works fine.

Any help will be very appreciated... 

Creating a dynamic site using custom template programmatically.



I have sites like




I have created Project1 as Template (Save as Template) and this template is available at http://kashyap Site Gallery > Solutions

http://kashyap/Team has a list called projects. I want to do custom workflow which is run by user manually(It is not problem). I want to create site programmatically  based on the template. I did some code Its

 private void codeCreateSite_ExecuteCode(object sender, EventArgs e)
      SPWeb web = workflowProperties.Web;

      SPListItem lst = workflowProperties.Item;
      string title = lst["Project Title"].ToString();
      string url = Common.UrlString(title);
      string desc = "Project from " + Common.GetFormatedValue(Convert.ToString(lst["Customer"

Creating a Site Column that Looks up an External List causes error when saving site as a template.


I'm not sure what the best practice is here, but I'm having a major issue trying to save sites as templates and I think I narrowed it down as to what the issue is.

When I try to save a site as a template, it creates the solution package, but it doesn't activate it.  When I try to activate it manually, I get the following error:

Feature definition with Id e9431ed5-27b1-4c33-9eeb-81b4ace9d372 failed validation, file 'test1ListInstances\ElementsFields.xml', line 481, character 231: The 'SystemInstance' attribute is not allowed.

I opened up the solution package and looked at the ElementsFields.xml file.  I traced the line to this:

<Field Type="BusinessData" DisplayName="Acme People Name" Required="FALSE" EnforceUniqueValues="FALSE" Group="Custom Columns" ID="{55b3bbba-a7e3-4698-9946-648a6b726e9e}" SourceID="{026904fd-f2d0-4e57-a239-c6da838458fa}" StaticName="Acme_x0020_People_x0020_Name" Name="Acme_x0020_People_x0020_Name" SystemInstance="ACME" EntityNamespace="http://????????:28241" EntityName="People" BdcField="FullName" Profile="" HasActions="True" SecondaryFieldBdcNames="0" RelatedF

Creating custom site template from a site that has a subsite - issue

  1. We created a Report Center site (a subsite) inside our site and then saved the site as a custom site template (including content). When we create the site out of this template, the site does not include the Report Center subsite. Can someone explain why?
  2. The report center was created for Key Performance Indicators (KPI) and we had published those KPIs on the parent site. We were hoping the any site created with our custom site template would show the KPIs. But we see only the KPI web part on the new site (created from our custom site template) without any KPI data. The reason is obvious because the data was coming from the Report Center subsite that does not get created by our custom site template. How do we accomplish this task via a custom site template?

Error creating site template from wsp



I am installing myCustomSiteTemplate.wsp, on SP 2010 server, activating the solution , my customized template is listed under site templates.

however when I am creating a new site using that template , it is throwing error as

Thie site Template requires that the Feature {909ada82-494c-41a2-9c10-630f1588c9c2} be installed in the farm or site collection.

I checked on Sharepoint Power Sheel console, with the following command

get-spfeature 909ada82-494c-41a2-9c10-630f1588c9c2. it does not show any feature .

I have activated all Publishing feature on site collection.

please help

Trouble with URL when creating new site from template


Last year created I a site that I saved as a template so that I could create a new site for 2011 using the same site structure.  Now I've created the new site for 2011 but I can see I made a naming error in my old site, in that I put the year on a list name and this has now transferred to the new site.

Here is the URL from last year:  /LegWeb/2010/Lists/2010Bills/AllItems.aspx.  I should have named the list  "Bills"  instead of "2010Bills"  because now in my new site the URL looks like a mistake:  /LegWeb/2011/Lists/2010Bills/AllItems.aspx.


What can I do to change that URL now?

Error when creating a custom site template



In VS 2010, I created a new SP project to create a custom site template.

W/O modifying the content, except setting the output path of the webtemp file to another language, I have the following error when I try to create a site based on this template :


failed to instantiate file "default.master" from module "defaultmasterpage": source path "default.master" not found


I've taken a look at OOB site templates, and I don't see what is missing.

I'd appreciate any help.




FYI, here is the content of my onet.xml  file :




Repeating items in calendar break after creating a site based on a template



We have the following issue when using a calendar in a site that is based on a template.

We add a calendar to a blank site. This site we save as a template in the solution gallery.

We then create a new site based on a template. After creating a repeating item in the calendar list, the end date of the repeating item will be the end date of the repetition. So the new appointment is spread across 4 weeks for a repeating appointment that repeats for 4 weeks.

If you connect the calendar to Outlook the appointments are displayed correct.

Does anybody have similar results and can confirm this is a bug?

Error creating site template for publishing site



I am trying to create site template for publishing site in SharePoint 2010.

I have a publishing site and have created site template for the same using _layouts/savetmpl.aspx.

But when I tried to create site from that template in the same site collection it throws error, actually it creates the site but not able to set the home page as /pages/default.aspx. If I edit the url as http://<new site created>/pages/default.aspx the site is working fine.

The onet.aml for the site template is: 


<Project Title="AsTestPckSiteTemplate" Revision="0" UIVersion="4" SiteLogoUrl="" SiteLogoDescription="" xmlns="http://schemas.microsoft.com/sharepoint/">


<!--<NavBar Name="SharePoint Top Navbar" Url="/poc/infonet/Depts/AsTestNewSite" ID="1002" />-->

    <NavBar Name="SharePoint Top Navbar" ID="1002" />



<Configuration ID="2" Name="BLANKINTERNET" MasterUrl="_catalogs/masterpage/nightandday.master" ThemedCssFolderUrl="/poc/infonet/_catalogs/theme/Themed/6941FBA2">


<!--PublishingPrerequisites Feature-->

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend