Here is some background on the environment
- SharePoint 2010 with a content database that was upgraded from SharePoint 2007
- The site was created using a Custom site template
- Pages created in the Pages library are using a custom Page Layout and Content Type
When I try to create a new publishing page I SOMETIMES get the error below. I'm very confused because this doesn't happen consistently! Sometimes the page is created successfully and sometimes I get the error! What is going on?
Error
The file Pages/test.aspx has been modified by Domian\Username on 03 Aug 2011 11:20:12 -0400.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 1b4a27ec-d7ef-4eca-93ea-56858b5c2531
Date and Time: 8/3/2011 11:20:12 AM
Go back to site
In the SharePoint logs I see this
08/03/2011 11:20:12.36 w3wp.exe (0x0DB4) 0x1AB0 SharePoint Foundation General 8kh7 High 0x81020015The file Pages/test.aspx has been modified by Domain\Username on 03 Aug 2011 11:20:12 -0400. 1b4a27ec-d7ef-4eca-93ea-56858b5c2531
08/03/2011 11:20:12.36 w3wp.exe (0x0DB4) 0x1AB0 SharePoint Foundation General 8e2r Medium Possible mismatch between the reported error with code = 0x81070901 and message: "The file Pages/test.aspx has been modified by Domain\Username on 03 Aug 2011 11:20:12 -0400." and the returned error with code 0x81020037. 1b4a27ec-d7ef-4eca-93ea-56858b5c2531
08/03/2011 11:20:12.36 w3wp.exe (0x0DB4) 0x1AB0 Web Content Management Publishing a5y6 Exception A critical error occurred while creating a PublishingPage through PublishingWeb.AddPublishingPage(string, PageLayout, SPFolder). Microsoft.SharePoint.SPException: The file Pages/test.aspx has been modified by Domain\Username on 03 Aug 2011 11:20:12 -0400. ---> System.Runtime.InteropServices.COMException (0x81020037): 0x81020015The file Pages/test.aspx has been modified by Domain\Username on 03 Aug 2011 11:20:12 -0400. at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, ... 1b4a27ec-d7ef-4eca-93ea-56858b5c2531
08/03/2011 11:20:12.36* w3wp.exe (0x0DB4) 0x1AB0 Web Content Management Publishing a5y6 Exception ...Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback) at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCa... 1b4a27ec-d7ef-4eca-93ea-56858b5c2531
08/03/2011 11:20:12.36* w3wp.exe (0x0DB4) 0x1AB0 Web Content Management Publishing a5y6 Exception ...llback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWri... 1b4a27ec-d7ef-4eca-93ea-56858b5c2531
08/03/2011 11:20:12.36* w3wp.exe (0x0DB4) 0x1AB0 Web Content Management Publishing a5y6 Exception ...ter pUniqueFieldCallback) at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename) at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename) at Microsoft.SharePoint.SPListItem.SystemUpdate() at Microsoft.SharePoint.Publishing.PublishingWeb.<>c_DisplayClass1c.b_17() at Micr... 1b4a27ec-d7ef-4eca-93ea-56858b5c2531
08/03/2011 11:20:12.36* w3wp.exe (0x0DB4) 0x1AB0 Web Content Management Publishing a5y6 Exception ...osoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) 1b4a27ec-d7ef-4eca-93ea-56858b5c2531 08/03/2011 11:20:12.36 w3wp.exe (0x0DB4) 0x1AB0 SharePoint Server Unified Logging Service c91s Monitorable Watson bucket parameters: SharePoint Server 2010, ULSException14, 81eed5e0 "web content management", 0e00129b "14.0.4763.0", 1f65804a "microsoft.sharepoint", 0e00129a "14.0.4762.0", 4bad8a7a "sat mar 27 00:32:58 2010", 00003a3c "00003a3c", 00000027 "00000027", 6ded0494 "spexception:81020037", 61357936 "a5y6" 1b4a27ec-d7ef-4eca-93ea-56858b5c2531
08/03/2011 11:20:12.36 w3wp.exe (0x0DB4) 0x1AB0 Web Content Management Publishing a5yd Unexpected A critical error occurred while creating PublishingPage 'test.aspx' through PublishingWeb.AddPublishingPage(string, PageLayout, SPFolder). Exception The file Pages/test.aspx has been modified by Domain\Username on 03 Aug 2011 11:20:12 -0400. 1b4a27ec-d7ef-4eca-93ea-56858b5c2531