Hi all,
I'm having this issue on all document libraries when editing its properties, and it is also happening when creating new sub site (when it tries to provision the homepage). This issue is happening in a site collection that was migrated from a SharePoint 2010 environment.
I have investigated every single error message, and none of the search results I found on the web helped, including the issue with having multiple column names mapped to the same database name ("@tp_Editor" error below). The file exists and it gets added to the document library but it fails when updating it's properties.
Here is logs from the ULS logs related to this issue:
<nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-1739618301-713299677-2434533842-6675, AppPrincipalName= ,bstrUrl....
Non-version conflict error in RunItemEventReceiverExProps. Exception: Microsoft.SharePoint.SPException: The URL 'test/sdfsdfsdf.docx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. ---> System.Runtime.InteropServices.COMException: <nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.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
Exception while assigning Document ID: The URL 'test/sdfsdfsdf.docx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
Failed to get output parameter, HR: 0x80131509, Native stack:
[Forced due to logging gap, cached @ 01/31/2014 16:45:19.56, Original Level: Verbose] Invoking EventReceiver - [Id: {0}]
.....
System.Data.SqlClient.SqlException (0x80131904): Parameter '@tp_Editor' was supplied multiple times.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
SQL error code from last error 8143 - Parameter '@tp_Editor' was supplied multiple times.
<nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-1739618301-713299677-2434533842-6675, AppPrincipalName= ,bstrUrl=http://
System.Runtime.InteropServices.COMException: The URL 'test/sdfsdfsdf.docx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion,