5

When I create an item in the list, it always display error message

Cannot complete this action. please try again

But other list works fine in the same site.

The ULS displays error message

Application error when access /Lists/forum/NewForm.aspx, Error=Cannot complete this action. please try again.

Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Cannot complete this action. please try again ---> System.Runtime.InteropServices.COMException: Cannot complete this action. please try again

but I don't know how to correct this problem

ULS as below:

Application error when access /Lists/forum/NewForm.aspx, Error=Cannot complete this action. please try again.
at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem (String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafe... ec15169d-9ea9-c0ef-a741-53bc227dd828

Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Cannot complete this action. please try again ---> System.Runtime.InteropServices.COMException: Cannot complete this action. please try again
at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Bool... ec15169d-9ea9-c0ef-a741-53bc227dd828

3
  • 1
    any event receivers? Commented Jul 3, 2015 at 11:54
  • @TiagoDuarte hi, I don't understand your question. This site is a migrated site by attach/detach, I think maybe the problem from database. I did not post all ULS logs. Do you need all ULS logs?
    – AnnaCICI
    Commented Jul 3, 2015 at 12:42
  • any additional info may help. also, if you have a dev farm with a copy of the DB you can enable custom errors and see the error on the spot. this is usually custom code messing around with Web.Update(), event receivers, etc. but can also be missing features, etc. Commented Jul 3, 2015 at 12:49

2 Answers 2

-1

This type of error occurs when you have delete something and do not updated.

For example if you have deleted one custom view and did not update list, and again you are trying to add a custom view with same title and get that view, then you will get this error.

If you have deleted the list or list item and did not update the list, and trying to add new item with same title, then below error occurs

"Cannot complete action"

So, before trying to add new item make sure that it was updated.

2
  • Updating what, what are you talking about?
    – Batman
    Commented Apr 1, 2017 at 14:51
  • i meant list.update() Commented Aug 2, 2017 at 5:20
2

Make sure your CAML query has all the closing slashes, especially after FieldRef Name like:

<FieldRef Name='ID' />

When I forgot to add that / before > I got the same error as you did.

1
  • In general - malformed CAML will cause this
    – Zrethreal
    Commented Nov 23, 2023 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.