.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

Error Creating Site Collection

Posted By:      Posted Date: September 02, 2010    Points: 0   Category :SharePoint
Hello, I have created a basic claims-based web app in SharePoint 2010. When I try to create a Site Collection, after filling out all the details, I get the following error:   Error  Cannot complete this action. Please try again.  Troubleshoot issues with Microsoft SharePoint Foundation.  Correlation ID: 349b9ae9-7bda-41eb-921a-87974afb289c    I have tried ever which way to try and get it to work, but am still stuck. Any ideas as to why I can't create a Site Collection? Thanks!

View Complete Post

More Related Resource Links

Error when creating site collection through programmatically?

hi all, When i am creating SharePoint Site collection through programmatically i am getting an error message. i am using below code...   using (SPSite site = new SPSite("http://servername:7853/")) {   using (SPWeb web = site.OpenWeb()) {   SPWebApplication oweb = web.Site.WebApplication; site.AllowUnsafeUpdates = true;   SPSiteCollection sitecol = oweb.Sites;   SPSite site1 = oweb.Sites.Add("sites/DemoSiteCol", "DemoSiteCol", "Welcome to the Client SiteCol",1033, "STS#0", "Domian\\user", "display name", "user@domian.com");//here i am getting the error message as "Object refernce not set to an instance of an Object". oweb.Update(); } Please tell me why i am getting the error message.... thanks in advance.....

Creating a new root Site Collection using a custom site definition file (ONET.XML)

Using Powershell, I am trying to deploy the our custom solution to SP 2010.  The script is doing the following: Deleting the web application using Remove-SPWebApplication Creating a new web application using New-SPWebApplication Adding and deploying a series of WSP files (one of which has the site definition file in it) using Add-SPSolution and Install-SPSolution Create a root site collection based on the site definition file provided in the WSPs using New-SPSite I get the error "WARNING: Template is not found and is not applied." When I run Get-SPWebTemplate, my site definition does not show up. I saw this: http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/5ea46e07-a4b0-4bab-b698-9b6eeb695607 but I want a solution that does not involve me reloading a DLL, as, I feel there is something else I am forgetting. I have also tried: IISReset Resetting the timer service Cleaning the Cache (as described here: http://support.microsoft.com/kb/939308) Nothing seems to work.  Does anyone have any ideas?

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...

host-named site collection, 401 error (SP Foundation 2010)

I'm trying to create a host-named site collection. However, after its creation, I try to access it with the browser and I'm challenged to enter my username/password  (validating through Active Directory, I believe) and I get a blank page. Looking in the IIS log I see a 401 error with sub-status 1. I'm creating everything programmatically through the  API. I'm following this article:  http://technet.microsoft.com/en-us/library/cc288637.aspx# It's not clear in the article exactly what DNS does or should do with host-named site collections. I added a line to my hosts file:   altlocalhost And I can ping altlocalhost with no problem. When I deploy directly a simple site collection without host-named stuff I'm not challenged to enter user name/password and the site works fine (and I'm authenticated with AD).  

sharepoint2007 - when create a new site collection - An unexpected error has occurred.

hi, when i create a new site collection for a new web part, i get en error message An unexpected error has occurred... strange thing is when thesite collection was created it opened fine but when i tried to click on the link again it gave me the error. does anyone know where the problem is? MGUKMGUK

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

sharepoint2007 - when create a new site collection - An unexpected error has occurred.

hi, when i create a new site collection for a new web part, i get en error message An unexpected error has occurred... strange thing is when thesite collection was created it opened fine but when i tried to click on the link again it gave me the error. does anyone know where the problem is? MGUKMGUK

Error in creating Search Site


I am trying to create search site.If I try to create site using the 'Basic Search Center' its is creating a search site.But after creating the site if I try to search anything it is showing me the following error.


Internal server error exception:

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: a1132c1b-2ecb-4f0e-afbb-f42422aaec33


And if I am trying to create site using 'Enterprise Search Center' or 'FAST Search Center' its is showing the following error and not possible to create the search site


An unexpected error has occured.

CorrealationID :{7abd617e-8438-4ce7-bb7b-12761b8b8f97}



here is the Log file:

09/20/2010 09:43:11.22     OWSTIMER.EXE (0x2A5C)                       0x2D14    SharePoint Server Search          Administration                    dl2i    Medium      Search application 'SharedServices - Search Ser

MySite creation fail - There has been an error creating the personal site. Contact your site adminis



I have a MOSS 2007 installation patched up to Cumulative Patch December, but are experiencing some issues with MySite.

When users access MySite, they recieve this errormessage in their browser: There has been an error creating the personal site. Contact your site administrator for more information.

This is followed up with this logged event on the server:


My Site creation failure for user 'DOMAIN\username' for site url 'https://mysite.domain.com/personal/domain_user'. The exception was: Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create the site. ---> Microsoft.SharePoint.SPException: User cannot be found .
   at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)
   at Microsoft.SharePoint.Administration.SPSiteCollection.Add(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerE

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

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

site collection 404 not found error


Hi All,

Over the past few weeks we have been using the Sharepoint 2010 wiki site collection quite happily. Yet today it stoped working providing only a single line 404 NOT FOUND response.


We are not aware that anyone made any changes and when looking in the central administration we see nothing that indicates that that site collection is out of the ordinary.

Can someone please describe the steps we should take to determine what is causing the 404 NOT FOUND error. Once we learn how to idetify a cause for a problem we woulld be so much better equiped to solve potentially solve the problem.

Kind regards,



Getting error when creating SharePoint site



When i login as site collection administrator then i can able to create Share Point site. But when i login as contributor user then i am unable to create Share Point site.

I have also tried 'FormDigestSettings' but still issue is there.

When i turnoff security from CA site then i can able to create site as contributor user.Might be it is security issue. please suggest.


public SPWeb CreateSiteWithElevatedPrivileges(ProjectSiteEntity objProjectSiteEntity, SPUser objSiteOwner)
            SPWeb newSite = null;
                using (SPSite elevatedSite = SpSecurityHelper.GetCurrentSiteAsElevated())
                    using (newSite = elevatedSite.AllWebs.Add(objProjectSiteEntity.SiteName, objProjectSiteEntity.SiteName, objProjectSiteEntity.Description, 1033, objProjectSiteEntity.SiteTemplate, true,

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 :




there has been an error creating the personal site - Contact your site administrator for more inform


Hi All,

I feel like starting with the usual line - "please contact your site administrator" - I am the site administrator. Sharepoint 2010 Ent, getting this message when I click on the "MyContent" link in the MySite area, am aware that this is when the users my site is getting created. This has never worked, this is a new production build, the "My News Feed" & "My Profile" are working but the MySite "MyContent" link returns the above message. I have  included two windows log files below. Appreciate any help in advance.

 + System

  - Provider

   [ Name]  Microsoft-SharePoint Products-SharePoint Foundation
   [ Guid]  {6FB7E0CD-52E7-47DD-997A-241563931FC2}
   EventID 6141
   Version 14
   Level 2
   Task 13
   Opcode 0
   Keywords 0x4000000000000000
  - TimeCreated

   [ SystemTime]  2010-10-11T20:38:35.129624700Z
   EventRecordID 53482
  - Correlation

   [ ActivityID]  {32EF2BA9-B9C3-4223-B5B1-4BBAEC495A53}

Problems Creating a new site collection


Hi all,

I am attemping to create a new site collection in code. This works fine on my test box, but when I moved it to production I keep getting access denied. Here is some of the code I am using:

Protected Sub btnCreate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnCreate.Click

        'Create the new site collection
        Dim elevatedCode As New SPSecurity.CodeToRunElevated(AddressOf CreateSite)

  End Sub ' End btnCreate_Click
''' <summary>
  ''' Create the new site collection
  ''' </summar

There has been an error creating the personal site. Contact your site administrator for more informa


Hi All

I have already created a web application and site collection for my site, now the scenario is I have a server on which moss 2010 is installed now when I create personal site for the user "moss2010\abc" its working fine but I have another domain "xyz" here I can easily create my site for "xyz\abc" but for this user when I click on "My Content" it gives me the ERROR as below:

There has been an error creating the personal site. Contact your site administrator for more information

I have already enable the self site creation and create manage path personal(Wildcard inclusion) these both are working fine with the domain "moss2010\abc" but give error as above for the "xyz\abc"

I want personal site for all the user of "xyz\abc".

If you have any idea regarding that please help me ,I tried almost everything which are available on net




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