본문 바로가기

Troubleshoot

Sharepoint 2010 "A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title." 사이트 콜랙션 생성 시 발생되는 에러..

my site 관련 된 작업을 진행하다가 사이트를 삭제하고 다시 생성하려고 하는데.. 생성이 되지 않았습니다.

 

에러 내용은 아래와 같습니다.

Exception attempting to ApplyWebTemplate to SPSite http://my.dev.doosan.com: Microsoft.SharePoint.SPException: A list, survey, discussion board, or document library with the specified title already exists in this Web site.  Please choose another title. ---> System.Runtime.InteropServices.COMException (0x81020012): A list, survey, discussion board, or document library with the specified title already exists in this Web site.  Please choose another title.     at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)     at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)     at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)     at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) Attempting to delete the site collection.

 

아래와 같은 내용도 있습니다.

System.Runtime.InteropServices.COMException: A list, survey, discussion board, or document library with the specified title already exists in this Web site.  Please choose another title.    at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)     at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)

 

좀 찾아보니..

onet.xml 등의 사이트 템플릿 xml이 삭제되거나 했을 경우에 발생되는 에러입니다.

 

저는 my site를 만들면서 해당 onet.xml과 특정 파일들을 직접 수정하는 작업을 진행하였는데.

Web Application을 삭제하면서 같이 삭제 된 것 같습니다.

 

즉. 다시 onet.xml을 살려 놓으면 됩니다.

 

그리고 IIS Reset..

그러면 정상적으로 생성되는 것을 확인 할 수 있습니다.

 

이상입니다.

 

고맙습니다.