Tuesday, September 11, 2007

How to fix SharePoint error: Cannot complete this action

While my team was working on customizing a SharePoint site, we encountered the following error message

Cannot complete this actionEvent message: An unhandled exception has occurred. Process information:
Process ID: 1964
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: SPException
Exception message: Cannot complete this action. Please try again.
Thread information:
Thread ID: 6
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl,
String bstrListName, String bstrViewName, String bstrViewXml,
SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.get_Count() at ProjectCreation.ProjectCreation1.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

This information was hardly of any use in fixing the issue. We discovered the precise information in the SharePoint log files in%Program Files%\Common Files\Microsoft Shared\web server extensions\12\LOGS.

Given below is the message logged when the error was encountered.
Failed to find tag corresponding to ID "112", tried both onet.xml for site definition ID "1" language "1033" and global site definition. Operation failed.

Further investigation revealed that in the process of customizing the site, the team had overwritten the global version of ONET.xml file(218 KB) witha version that was 17 KB in size and it did not have ListTemplate tag. Replacing it with the original file resolved the issue.

1 comment:

VM said...

Hi i followed

(http://www.microsoft.com/downloads/details.aspx?

FamilyId=C1039E13-94DA-4D7D-8CAE-

3B96FA5A4045&displaylang=en)

(http://www.microsoft.com/downloads/details.aspx?

FamilyId=C1039E13-94DA-4D7D-8CAE-

3B96FA5A4045&displaylang=en)this install the templates correctly,
and i goto activate the feature under "Site Administration->Site Feature" page during activation some feature(Bug Tracking
Modules,IT Modules)is not activated showing error
"Cannot complete this action.Please try again.Troubleshoot issues with Windows SharePoint Services"
and some feature is already in exist(eventplanning.wsp,endinglibrary.wsp).
afterthis my sharepoint website Home page also showing this error "Cannot complete this action.Please try again.Troubleshoot issues with Windows SharePoint
Services".
Please help me,How to resolve this?
Thanks in advance,vel

What is success?

The journey of life takes us through varied experiences like landing an admission at a prestigious college, earning a degree, getting hired,...