.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

Applying site templates fails

Posted By:      Posted Date: September 10, 2010    Points: 0   Category :SharePoint
Hi, I MOSS 2007 we have created several site templates - all based on 'team site template' and ONLY customized using the browser. All ‘source sites’ are kept in one web app. We have 1)      Migrated this web app to SP 2010 2)      Saved the sites as ‘site templates’ resulting in .wsp-files 3)      Created a site collection WITHOUT reference to a site template 4)      Connected to the  site coll – ‘choose template dialog’ shows up 5)      Added/activated solution (.wsp-file) to the site coll 6)      Tried to apply the custom site template – results in the following error message: ”Filen blev ikke fundet. (File Not found) Fejlfinding af problemer med Microsoft SharePoint Foundation. Korrelations-id: 333faed9-fe3e-4c46-aa4d-2d40fb162c01 Dato og klokkeslæt: 10-09-2010 11:02:24 ” Tracing using the correlation-id exposes a lot of data – too much to insert here – but this extract might be important: “Area     : SharePoint Foundation Category : General Level    : High EventID  : 8l36 Message  : Failed to activate site-scoped features for template 'STS#0' in site 'http://skabelon2010.xxx.xxx.xx/site

View Complete Post

More Related Resource Links

Master Pages: Master Your Site Design with Visual Inheritance and Page Templates


Master pages in ASP.NET 2.0 solve a problem many Web developers have been solving on their own with a variety of techniques for years - providing a single master template for an entire site. This article covers the details of master pages, discussing their usage and implementation and how they are a natural evolution of custom techniques developers are using today.

Fritz Onion

MSDN Magazine June 2004

Unable to create columns in document library after applying custom master page to site

Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

ASP.NET Web Site Templates

I need to redo a web site, and I'd like to start with a fancy template that's asp.net based.  There are tons of web site templates out there, but I'm not finding any that are focused on asp.net developers.  I've purchased an html/.css template, but it's a pain to integrate it into a web site in VS 2010.  I'd gladly pay $100 for a pre-built project.  Does any one know of a site offering such templates? 

SharePoint 2010 - noticed a possible bug with regard to custom site templates.

Hi All, I'm wondering has anyone else noticed this behaviour in relation to custom site templates. I wanted to move an site A ( content included ) from site collection A to site collection B. I saved site A as a site template ( content included ) I uploaded the site template to site collection B's solution gallery. I created Site B on site collection B using this site template. unfortunately the top links to site A have been preserved causing major confusion to the users. i.e. the shared documents document library link and the tasks link both link to Site A! the links to documents within the document library on the other hand are to site B!? Is this a known issue ? Is this something that I should have expected to happen? look forward to hearing other folks experience with this functionality. thanks and regards, Counie  

Best Way to Convert MOSS 2007 Site Templates to SharePoint 2010 Templates

Ok, I just treid to do something that I didn't really think would work, but now that I've seen it fail, I get to ask the question. Is there a best practice on converting site templates built for MOSS 2007 to SharePoint 2010. We have several projects that used the Visual Studio Extensions (v1.3) and the SharePoint Solution Generator to build custom site templates and the .wsp packages. I can add and deploy the solution packages using the STSADM tool, but when I try to create a sub-site based on that template, I get an Object Not Set to an Oject Reference Error. In case anyone is wondering, it works fine in MOSS 2007. I have not tried Visual Studio 2010 yet (it's downloading in the background). I'm just wondering if anyone has run into this and what they did to fix it. TIA, John.

Site templates and Library Labels

I have been having an issue with labels and a document library... I have a created a document library...docs, with a new site content type ...doc1 If I then save site as a template....works fine. However, the template I have for the content type doc1, has a Quick Part (label) added to it to show the document version number on the document. In order for this to pass from the library to the document, I need to activate labels on the list through the Information Management policy settings on the library. I have done this  and got the template working correctly, updating the version number within the document. But, now if I save site as a template I get the error...   Error Error exporting the list named "Docs" at the URL: Docs Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: ea226ba4-0a68-4cfb-9b6f-c557f4ec8ab6 I have tried saving the template at every stage and it is fine up until I turn on the Label option. Any ideas?

Types of site templates

There are a number of articles around that list the different types of site template available in Sharepoint 2010. Some of the templates that appear in these lists do not appear as options when you go to create a new site. SPSNEWS#0 for example. Are these templates that should no longer be used? 

Disable site templates via powershell?

I'm looking to disable certain site templates available to users via the "create site" menu and would like to just do it for one entire web application, but not the whole farm. Is there a way to do this via powershell? (It honestly baffles me that this still isn't a UI control via central admin)

Copy site in same site collection fails in MOSS2007


Hello, everyone:

  In our MOSS2007 environment, we have a '/countries/' site collection level, underneath which there are several country-sites. We give the local webmaster of each country site  'full control' permission.

  However, one local webmaster encounter copy action failing error while she definitely has been granted 'full control' permission in this site. The error is as below.

  We tested with site collection level admin, it works fine. Therefore, we suspect that there could be a hidden thing in this site that even local webmasters cannot access?

Best regards,


Site Content and Structure: Copy


Operation to Copy '/countries/abc/temp/test_mo

Trying to recreate Help Desk site in SharePoint 2010 fails with an error


The site template requires that the Feature {af6d9aec-7c38-4dda-997f-cc1ddbb87c92} be activated in the site collection.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 1c60c31d-cf82-47f0-a065-3673b4e16ca6

Date and Time: 8/27/2010 7:54:24 AM

I looked up the GUID using http://blogs.msdn.com/b/mcsnoiwb/archive/2010/01/07/features-and-their-guid-s-in-sp2010.aspx as my reference.  However, I cannot for the life of me figure out how to add this feature to the site collection.  When I go to the top-level site and go to add site collection features Web Analytics Customize Reports functionality is not there.

Clearly there is something I'm missing but since Microsoft is not redoing the Fabulous 40 site templates, any help in getting the old sites to work in a sharepoint database attach migration will be greatly appreciated.


Michael Caplan

Site Settings - Page Layouts and Templates Error


I'm getting an error page when trying to reach Page Layouts and Templates page from site settings on one of the sites in our collection.  When the user clicks on Site Settings -> Modify all site settings -> Page Layouts and Site Templates an error page is displayed with the message: Data at the root level is invalid. Line 1, position 1.  I've checked Event Viewer on the server and found no errors for this issue.  I'm very new to SharePoint Admin and I'm not sure why this would happen.  I'm including an exerpt from the log file below.  Does anyone have any ideas for me? 

10/30/2009 13:50:01.42 	w3wp.exe (0x0BC4)                       	0x07C8	Windows SharePoint Services   	General                       	8e25	Medium  	Failed to look up string with key "ReportBuilderContentTypeDesc", keyfile .	 
10/30/2009 13:50:01.42 	w3wp.exe (0x0BC4)                       	0x07C8	Windows SharePoint Services   	General                       	8l3c	Medium  	Localized resource for token 'ReportBuilderContentTypeDesc' could not be found for file with path: "(unavailable)".	 
10/30/2009 13:50:01.43 	w3wp.exe (0x0BC4)                       	0x07C8	Windows SharePoint Services   	General                       	72kg	High    	#20015: Cannot open "Resources.en-US.resx": no such file or folder.	 
10/30/2009 13:50:01.43 	w3wp.exe (0

How to find and test templates of a web site?


I am new to web site templates, and I know that templates are the base for the creation of web pages.

I have the task of testing hundreds of web pages from a web site.

If a web site (For example, www.microsoft.com) has 1000 web pages, how can I know what are the different templates used to design these 1000 web pages?

The idea is, the test cycle time can be reduced and the reliability on coverage can be more by testing these templates.

Once I know the templates, how should they be tested?

Can anyone please help me know answer to my question?

I googled to check solution to my question and found that, there are many articles on the net which explains how to create web pages from a template.But, my problem is, how do I know what templates are used to create hundreds of web pages in an existing web site (say, www.microsoft.com)

Also, can you please let me know if there are any links relevant to this so that, i can read through it to understand this better?

regards, Krishna

VS Workflow creation fails to be created on one site


This is a long shot, there must be many reasons for the failure

Its a 2007 site recently upgraded using database attach.

When I try to create any sort of workflow on a particular site VS2010 asks for the site name then the dialog box disappears with no error message.

  • Can create all other project types on this site
  • Site opens OK in browser and SP designer
  • Can create workflows on subsites

Anyone else experienced the same?



VWD 2010: Copy Web Fails if File Exists on Remote Site



I just started using VWD 2010 and I used Copy Web to upload the site to the server. However, whenever I try to upload a new version of a file that I've already uploaded, the upload fails, with this error in the log (as an example):

Copy from 'C:\Users\Lou\Documents\Visual Studio 2010\WebSites\genusus10\tools' to '' started at 10/6/2010 4:00:33 PM.
            Copy file password.aspx.vb from source to remote Web site.
            Has error -- Unable to add 'tools/password.aspx.vb' to the Web site.  The file tools/password.aspx.vb has been modified by (unknown) on 06 Oct 2010 11:45:33 -0500.

Copy from 'C:\Users\Gen\Documents\Visual Studio 2010\WebSit

New site creations defaulting to Collaboration mode when collaboration templates are not available


A trainer is explaining to me that during a class activity many newly created sites are defaulting to collaboration mode. In these specific instances no collaboration templates are even available. One thing to mention is that this only seems to happen when the class sizes are larger and possibly only happens when multiple students are creating sites at the same time. Is there a limitation in the system surrounding creation of sites in the same container at the same time?

Web Site/ Web Application templates seem changed; give me default.aspx only with site.master in VWD


Using Visual Web Developer 2010 Express

I was used to creating a web app anytime and I would get a default page for starters and be happy.  But today I find that when I pick either the ASP.NET Web Site or ASP.NET Web Application templates I get site.master and a bunch of site admin files that I don't want.  Alternately when I select the empty versions of those templates, I get almost nothing at all.  An almost empty web.config page and no Default.aspx page.  There is nothing magical about having a default.aspx page in place, but it is an indicator of a change when I can only get a virtually completely empty website or a website with a bunch of bells and whistles I don't want.

Also, for some reason, when I create a new app or website as just noted, in the Solution Explorer I get aspx.designer.cs files showing as well as web.config files for both debug and release.

Somehow some settings and templates must have changed, or am I missing something here?  How can I get my settings/templates to go back to the way they were?

Site Templates


I have no save site template in site`s preferences and in SPD it is greyed out.

Why ?

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