This project has moved and is read-only. For the latest updates, please go here.
1

Closed

Can't Recreate a MLG Site

description

I've searched the heck out of this issue nothing has worked yet:
Had to delete a subsite(full mlg set) from a parent collaboration portal. Now, I'm trying to recreate the web using the School Portal Template from E-Learning. It keeps giving me an error "failed to
completely recreate the top level site."
 
Event Type: Error
Event Source: Office SharePoint Server
Event Category: Publishing Provisioning
Event ID: 4965
Date: 3/12/2009
Time: 2:53:36 PM
User: N/A
Computer: MOSS-PRO
Description:
Event log message was: 'Failed to completely create the top-level Web site.'. Exception was: 'Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to completely create the subsite 'http://*******/Teachers'. OriginalException: Provisioning did not succeed. Details: Failed to completely create the top-level Web site. OriginalException: The specified name is already in use.
 
Please try again with a new name. ---> Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to completely create the top-level Web site. OriginalException: The specified name is already in use.
 
Please try again with a new name. ---> Microsoft.SharePoint.SPException: The specified name is already in use.
 
Please try again with a new name. ---> System.Runtime.InteropServices.COMException (0x81020043): The specified name is already in use.
 
Please try again with a new name.
at Microsoft.SharePoint.Library.SPRequestInternalClass.AddGroup(String bstrUrl, String bstrName, String bstrDescription, Int32 lOwnerID, Boolean bOwnerIsUser, UInt64 iPermMask, Int32 lUserID, Boolean bUseExisting, Boolean bSelfOwner)
at Microsoft.SharePoint.Library.SPRequest.AddGroup(String bstrUrl, String bstrName, String bstrDescription, Int32 lOwnerID, Boolean bOwnerIsUser, UInt64 iPermMask, Int32 lUserID, Boolean bUseExisting, Boolean bSelfOwner)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)
at Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile, SPWeb rootWeb)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile, SPWeb rootWeb)
at Microsoft.SharePoint.Publishing.PortalProvisioningProvider.<>c__DisplayClass3.<Provision>b__0()
at Microsoft.SharePoint.Publishing.CmsSecurityUtilities.RunWithWebCulture(SPWeb web, CodeToRun webCultureDependentCode)
at Microsoft.SharePoint.Publishing.PortalProvisioningProvider.Provision(SPWebProvisioningProperties properties)
at Microsoft.SharePoint.SPWeb.DoProvisioningCallback(String sProvisionAssembly, String sProvisionClass, String sProvisionData)
at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)
at Microsoft.SharePoint.SPWeb.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere)
at Microsoft.SharePoint.SPWeb.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere)
at Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreateChildWebs(WebElement parentWebElement, SPWeb parentWeb)
--- End of inner exception stack trace ---
at Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreateChildWebs(WebElement parentWebElement, SPWeb parentWeb)
at Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile, SPWeb rootWeb)'
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Closed Mar 19, 2009 at 3:32 AM by RichardWillis
Fixed in 1.1 release.

comments

Dnixon wrote Mar 12, 2009 at 9:54 PM

-Also can't find any folders hanging around in VS or Sharepoint Designer.

RichardWillis wrote Mar 13, 2009 at 1:56 AM

Are there any SharePoint groups left over from before. Looking at the stack trace it could be due to it trying to create a group with the same name as one which already exists. Have a look and delete any existing ones which are still hanging around.

RichardWillis wrote Mar 19, 2009 at 3:32 AM

I've uploaded an updated MlgSchool solution which solves this problem. It is that it was trying to recreate the site groups without first checking that they exist. You can download from the 1.1 release page.

wrote Mar 19, 2009 at 3:32 AM

wrote Feb 14, 2013 at 1:58 AM

wrote May 16, 2013 at 7:23 AM