Exception from HRESULT: 0x80131904 and Violation of PRIMARY KEY constraint 'AllUserDataJunctions_PK' on item.update

HI,
We have done following changes to Production environment.
1. Migrated Application from 2007 to 2010
2. Done User Domain Migration user MoveSP-User commmand
3. Then we Run following command to block users from another domain.
Set-SPSite -Identity 'SiteName' -UserAccountDirectoryPath "DC=xxx,DC=xxx,DC=xxx"
After All above changes, application were working fine without a single bug. all Operation are working fine. Then suddenly from 2 days below error coming in ULS log.
This error is thrown on item.update();
Unknown SPRequest error occurred. More information: 0x80131904
System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'AllUserDataJunctions_PK'. Cannot insert duplicate key in object 'dbo.AllUserDataJunctions'.  The statement has been terminated.     at System.Data.SqlClient.SqlConnection.OnError(SqlException
exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     at System.Data.SqlClient.SqlDataReader.get_MetaData()    
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBeh...
avior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
command, CommandBehavior behavior, SqlQueryData ...
...monitoringData, Boolean retryForDeadLock)
at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock)     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,
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 pListDataValidationCallback,
ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)     at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration,
Boolean bPublish, Boolean bCheckOut, Boolean bCheckin,...
SqlError: 'Violation of PRIMARY KEY constraint 'AllUserDataJunctions_PK'. Cannot insert duplicate key in object 'dbo.AllUserDataJunctions'.'    Source: '.Net SqlClient Data Provider' Number: 2627 State: 1 Class: 14 Procedure: 'proc_CreateItemJunctionsVersion'
LineNumber: 9 Server: 'xxxxxxxxx\xxxxx' a035fb89-0a86-4817-b531-f20a537a002a
SqlError: 'The statement has been terminated.'    Source: '.Net SqlClient Data Provider' Number: 3621 State: 0 Class: 0 Procedure: 'proc_CreateItemJunctionsVersion' LineNumber: 9 Server: 'xxxxxxxx\xxxxxxx' a035fb89-0a86-4817-b531-f20a537a002a
Please help!!!
I am unable to find any solution.
Regards,
Yogesh Ghare
EDIT - Just adding some extra points that come from observation .
1. This Error comes when following scenario is true
First Attempt: User udated item in List "Issue Tracking" from Datasheet view
Second Attempt: User udate the same item in list from "Sharepoint UI or Custom aspx form".. After clickin on Save button this erro comes up.
Third Attempt: If after error user updates the same itme from UI the the data get saved
OR
Third Attempt : If after error user updates the same itme from datasheet view User get Unresolve data confilct again and again.
Above Scenario is true only for Existing items in lists. For Newly added Items this is not producible(erroe not generated).One of the ovbservation is that All the items which are having issue are migrated from 2007 to 2010

Hello,
I have the exact same issue. SharePoint List which is causing this issue has got around 140 fields (All kinds of field types).
Do this happen only if there is a migration from one version to other?
This List is created using custom code - List Instance and not using Out of box SharePoint.
Please let me know if recreating the list (using OOB) or any other fix will resolve this issue.
Below is the ULS log:
Unknown SPRequest error occurred. More information: 0x80131904
System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80131904  
 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 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 bPreserveItemUIVersion,
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, ISP2DSafeArrayWriter pUniqueFieldCallback)
System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'AllUserDataJunctions_PK'. Cannot insert duplicate key in object 'dbo.AllUserDataJunctions'.
The duplicate key value is (21b5edcc-6e2d-421f-ad08-5a9e275add8a, 0x, 0, 10724c04-dcbb-4f02-af40-e19a694d015c, a558cc06-6f8a-408d-a1f6-f4b712d68881, 4096, 1, 4e405c39-8677-4ba0-8901-2ca4fa273461, 0).  The statement has been terminated.      at
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)      at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)      at System.Data.SqlClient.TdsParser.Run(RunBehavior
runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)      at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()      at System.Data.SqlClient.SqlDataReader.get_MetaData()
     at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)      at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior
runBehavior, Boolean returnStream, Boolean async)      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)      at
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)  
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)      at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)
at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)    
 at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock)    
 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 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 bPreserveItemUIVersion, 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, ISP2DSafeArrayWriter 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, Boolean bPreserveItemUIVersion)    
 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, Boolean bPreserveItemUIVersion)    
 at Microsoft.SharePoint.SPListItem.Update()    
 at BV.PEL.BL.Common.PublishProject(SPListItem sourceItem, Boolean isFromPublish, SPWeb web, SPSite systemSite, SPFieldUserValueCollection adminGroup, String strComments)    
 at BV.PEL.Portal.WebParts.OneBVProjectInformation.OneBVProjectInformationUserControl.buttonApprove_Click(Object sender, EventArgs e)    
 at System.Web.UI.WebControls.Button.OnClick(EventArgs e)    
 at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)    
 at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)    
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
 at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
 at System.Web.UI.Page.ProcessRequest()    
 at System.Web.UI.Page.ProcessRequest(HttpContext context)    
 at ASP.BLANKWEBPARTPAGE_ASPX_1653093133.ProcessRequest(HttpContext context)    
 at Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext context)    
 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)    
 at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)    
 at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)    
 at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

Similar Messages

  • Exception from HRESULT: 0x80131904 - Error when creating a team site

    Hi,
    I am a SharePoint Administrator. I have a SharePoint 2010 site collection that had been migrated successfully from MOSS 2007 2 years ago. This site collection has some custom solutions and is very large (~200GB).
    Everything works fine but since last week, I can NOT create any team site as subsite in this site collection. Error message is Exception from HRESULT: 0x80131904 
    I checked SP log and found some errors from SQL Server side:
    05.22.2014 08:30:33.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880k High at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.SPField.set_SchemaXml(String value) at Microsoft.SharePoint.SPList.FixFieldsFromColumnTemplate() at Microsoft.SharePoint.SPWeb.SyncNewLists() at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.CreateSite() at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.RenderControl(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTextWriter output, Boolean bMoreParts, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderWebParts(HtmlTextWriter output, ArrayList webParts) at Microsoft.SharePoint.WebPartPages.WebPartZone.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryPage.Render(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._layouts_addgallery_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Incorrect syntax near 'FC7D0500'.' Source: '.Net SqlClient Data Provider' Number: 102 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'.' Source: '.Net SqlClient Data Provider' Number: 105 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 5586 Critical Unknown SQL Exception 102 occurred. Additional error information from SQL Server is included below. Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzku High ConnectionString: 'Data Source=ch01sw0482;Initial Catalog=SharePoint_Collaboration_GRDRO;Integrated Security=True;Enlist=False;Connect Timeout=15' ConnectionState: Closed ConnectionTimeout: 15 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzkv High SqlCommand: 'BEGIN TRAN;UPDATE AllUserData SET nvarchar3 = REPLACE(nvarchar3, ''', '') WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET float2 = CASE WHEN ISNUMERIC(nvarchar3) = 1 AND nvarchar3 != '$' AND nvarchar3 != '.' AND nvarchar3 != ',' AND nvarchar3 != '+' AND nvarchar3 != '-' THEN nvarchar3 ELSE NULL END WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET nvarchar3 = NULL WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; COMMIT TRAN' CommandType: Text CommandTimeout: 0 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    I also checked my SQL Server. The tempdb is ok. The content database is fine, have enough free space for data files and log file. 
    Here is log entries that are related to this error:
    05.22.2014 08:30:12.20 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://siteurl/_layouts/AddGallery.aspx) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.20 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/siteurl 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.22 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 90hv Unexpected Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before. Stack trace: at Microsoft.SharePoint.WebControls.ScriptLink.SharePointClientJs_Register(Page page) at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strKey, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterCore(Page page, Boolean defer) at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterOWSScript(Page page, SPWeb web) at Microsoft.SharePoint.WebPartPages.WebPartPage.FormOnLoad(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._layouts_addgallery_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.70 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Fields 88y1 Medium No document templates uploaded for list "$Resources:core,MasterPageGallery;" -- none found for list template "100". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Creating Web test). Execution Time=4832.14849932044 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 85m6 Medium Applying web template 'STS#0' on web url 'http://siteurl/test' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 85m7 Medium Actual web template to apply to Url 'http://siteurl/test' is 'STS#0' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72h7 Medium Applying template "STS#0" to web at URL "http://siteurl/test". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.86 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1c Medium Preparing 21 features for activation 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.87 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1d Medium Feature Activation: Batch Activating Features at URL http://siteurl/test 'AnnouncementsList' (ID: '00bfea71-d1ce-42de-9c63-a44004ce0104'), 'ContactsList' (ID: '00bfea71-7e6d-4186-9ba8-c047ac750105'), 'CustomList' (ID: '00bfea71-de22-43b2-a848-c05709900100'), 'DataSourceLibrary' (ID: '00bfea71-f381-423d-b9d1-da7a54c50110'), 'DiscussionsList' (ID: '00bfea71-6a49-43fa-b535-d15c05500108'), 'DocumentLibrary' (ID: '00bfea71-e717-4e80-aa17-d0c71b360101'), 'EventsList' (ID: '00bfea71-ec85-4903-972d-ebe475780106'), 'ExternalList' (ID: '00bfea71-9549-43f8-b978-e47e54a10600'), 'GanttTasksList' (ID: '00bfea71-513d-4ca0-96c2-6a47775c0119'), 'GridList' (ID: '00bfea71-3a1d-41d3-a0ee-651d11570120'), 'IssuesList' (ID: '00bfea71-5932-4f9c-ad71-1557e5751100'), 'LinksList' (ID: '00bfea71-2062-426c-90bf-714c59600103'), 'NoCodeWorkflowLibrary' (ID: '00bfea71-f600-43f6-a895-40c0de7b0117'), 'PictureLibrary' (ID: '00bfea71-52d4-45b3-b544-b1c71b620109'), 'SurveysList' (ID: '00bfea71-eb8a-40b1-80c7-506be7590102'), 'TasksList' (ID: '00bfea71-a83e-497e-9ba0-7a5c597d0107'), 'WebPageLibrary' (ID: '00bfea71-c796-4402-9f2f-0eb9a6e71b18'), 'workflowProcessList' (ID: '00bfea71-2d77-4a75-9fca-76516689e21a'), 'WorkflowHistoryList' (ID: '00bfea71-4ea5-48d4-a4ad-305cf7030140'), 'XmlFormLibrary' (ID: '00bfea71-1e1d-4562-b56a-f05371bb0115'), 'TeamCollab' (ID: '00bfea71-4ea5-48d4-a4ad-7ea5c011abe5'), . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.94 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1f Medium Feature Activation: Batch Activated Features at URL http://siteurl/test 'AnnouncementsList' (ID: '00bfea71-d1ce-42de-9c63-a44004ce0104'), 'ContactsList' (ID: '00bfea71-7e6d-4186-9ba8-c047ac750105'), 'CustomList' (ID: '00bfea71-de22-43b2-a848-c05709900100'), 'DataSourceLibrary' (ID: '00bfea71-f381-423d-b9d1-da7a54c50110'), 'DiscussionsList' (ID: '00bfea71-6a49-43fa-b535-d15c05500108'), 'DocumentLibrary' (ID: '00bfea71-e717-4e80-aa17-d0c71b360101'), 'EventsList' (ID: '00bfea71-ec85-4903-972d-ebe475780106'), 'ExternalList' (ID: '00bfea71-9549-43f8-b978-e47e54a10600'), 'GanttTasksList' (ID: '00bfea71-513d-4ca0-96c2-6a47775c0119'), 'GridList' (ID: '00bfea71-3a1d-41d3-a0ee-651d11570120'), 'IssuesList' (ID: '00bfea71-5932-4f9c-ad71-1557e5751100'), 'LinksList' (ID: '00bfea71-2062-426c-90bf-714c59600103'), 'NoCodeWorkflowLibrary' (ID: '00bfea71-f600-43f6-a895-40c0de7b0117'), 'PictureLibrary' (ID: '00bfea71-52d4-45b3-b544-b1c71b620109'), 'SurveysList' (ID: '00bfea71-eb8a-40b1-80c7-506be7590102'), 'TasksList' (ID: '00bfea71-a83e-497e-9ba0-7a5c597d0107'), 'WebPageLibrary' (ID: '00bfea71-c796-4402-9f2f-0eb9a6e71b18'), 'workflowProcessList' (ID: '00bfea71-2d77-4a75-9fca-76516689e21a'), 'WorkflowHistoryList' (ID: '00bfea71-4ea5-48d4-a4ad-305cf7030140'), 'XmlFormLibrary' (ID: '00bfea71-1e1d-4562-b56a-f05371bb0115'), 'TeamCollab' (ID: '00bfea71-4ea5-48d4-a4ad-7ea5c011abe5'), . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.97 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72ix Medium Not enough information to determine a list for module "mobile". Assuming no list for this module. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') at URL http://siteurl/test.). Execution Time=48.2382537445402 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75fb Medium Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053'). 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e1f High Failed to find the XML file at location '14\Template\Features\FacetedSearch\feature.xml' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8gru Medium Exception thrown while determining definition for Feature with ID '4ad6146d-6ada-4931-ab81-0e179de7008e': Microsoft.SharePoint.SPException: Failed to find the XML file at location '14\Template\Features\FacetedSearch\feature.xml' at Microsoft.SharePoint.SPXmlDocCache.GetGlobalXmlDocument(String pathTemplateRelativeXml, SPFeatureDefinition featdef) at Microsoft.SharePoint.Administration.SPFarmFeatureDefinitionContext.LoadFileAsXmlDocument(SPFeatureDefinition featdef, String featureRelativePath) at Microsoft.SharePoint.Administration.SPFeatureDefinition.EnsureGlobalDefinition() at Microsoft.SharePoint.Administration.SPFeatureDefinition.EnsureElementManifestList() at Microsoft.SharePoint.Administration.SPFeatureDefinition.GetElementDefinitions(CultureInfo ciElements) at Microsoft.SharePoint.SPElementProvider.QueryForElementsJoinOR[TElementType](List`1 lstdictAttrPatterns, List`1 lstfeatdefsOfInterest, List`1 listofOptionalElementsToQuery, CultureInfo ciElements, Int32 webUIVersion). Skipping this feature for element querying consideration. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Template Cache g09v Medium Caching global fields. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (List Creation: SitePages). Execution Time=2121.04722806949 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:21.33 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=261.695550691499 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:21.88 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (List Creation: SiteAssets). Execution Time=1697.65654573416 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:22.41 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72nz Medium Videntityinfo::isFreshToken reported failure. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:26.45 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#1). Execution Time=3056.27083889153 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.14 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (DocId.ItemChangedInternal). Execution Time=5035.19776954892 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.14 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Event Receiver (Microsoft.Office.DocumentManagement, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, Microsoft.Office.DocumentManagement.Internal.DocIdHandler)). Execution Time=5098.96313637627 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.25 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=86.6235792537878 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.78 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#1). Execution Time=176.816606579887 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (DocId.ItemChangedInternal). Execution Time=438.837617630174 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Event Receiver (Microsoft.Office.DocumentManagement, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, Microsoft.Office.DocumentManagement.Internal.DocIdHandler)#2). Execution Time=439.110557347372 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.02 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.02 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') at URL http://siteurl/test.). Execution Time=10017.3097418806 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'RelatedLinksScopeSettingsLink' (ID: 'e8734bb6-be8e-48a1-b036-5a40ff0b8a81') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'RelatedLinksScopeSettingsLink' (ID: 'e8734bb6-be8e-48a1-b036-5a40ff0b8a81') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'BaseWeb' (ID: '99fe402e-89a0-45aa-9163-85342e865dc8') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'BaseWeb' (ID: '99fe402e-89a0-45aa-9163-85342e865dc8') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'ObaSimpleSolution' (ID: 'd250636f-0a26-4019-8425-a5232d592c01') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'ObaSimpleSolution' (ID: 'd250636f-0a26-4019-8425-a5232d592c01') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Feature Infrastructure 8e14 Medium Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') was already activated at scope 'http://siteurl/test'. No further action necessary for this feature. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75fb Medium Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668'). 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.11 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.11 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') at URL http://siteurl/test.). Execution Time=17.9978181584531 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.75 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Office Parser ey9c Medium Metadata parse dirty the file, Csi PreserveCellStorageStateInFfm skipped 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.75 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Office Parser ey9f Medium Metadata demote dirty the file, Csi PreserveCellStorageStateInFfm skipped 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72ix Medium Not enough information to determine a list for module "Default". Assuming no list for this module. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General tkmz Medium The WebPartOrder attribute is unspecified, a default of 1 will be used. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.19 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72h8 Medium Successfully applied template "STS#0" to web at URL "http://siteurl/test". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.19 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Applying Named Web Template: STS#0). Execution Time=13810.9050172578 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:32.66 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=7.89876925698657 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880k High at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.SPField.set_SchemaXml(String value) at Microsoft.SharePoint.SPList.FixFieldsFromColumnTemplate() at Microsoft.SharePoint.SPWeb.SyncNewLists() at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.CreateSite() at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.RenderControl(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTextWriter output, Boolean bMoreParts, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderWebParts(HtmlTextWriter output, ArrayList webParts) at Microsoft.SharePoint.WebPartPages.WebPartZone.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryPage.Render(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._layouts_addgallery_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Incorrect syntax near 'FC7D0500'.' Source: '.Net SqlClient Data Provider' Number: 102 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'.' Source: '.Net SqlClient Data Provider' Number: 105 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 5586 Critical Unknown SQL Exception 102 occurred. Additional error information from SQL Server is included below. Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzku High ConnectionString: 'Data Source=ch01sw0482;Initial Catalog=SharePoint_Collaboration_GRDRO;Integrated Security=True;Enlist=False;Connect Timeout=15' ConnectionState: Closed ConnectionTimeout: 15 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzkv High SqlCommand: 'BEGIN TRAN;UPDATE AllUserData SET nvarchar3 = REPLACE(nvarchar3, ''', '') WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET float2 = CASE WHEN ISNUMERIC(nvarchar3) = 1 AND nvarchar3 != '$' AND nvarchar3 != '.' AND nvarchar3 != ',' AND nvarchar3 != '+' AND nvarchar3 != '-' THEN nvarchar3 ELSE NULL END WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET nvarchar3 = NULL WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; COMMIT TRAN' CommandType: Text CommandTimeout: 0 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e1d High Deleting the web at http://siteurl/test . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Render WebPart AddGalleryWebPart). Execution Time=23135.9471664695 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Render WebPart Zone g_77836901A6DE4DAC9F882928CFDFC358). Execution Time=23136.0167283831 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://siteurl/_layouts/AddGallery.aspx)). Execution Time=23153.4689464722 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    Any suggestions as how to resolve this issue?
    Best regard,
    Nhat Phan
    Nhat Phan

    Hi,
    Please try creating other sites liike publishing site to check if error persists?
    Refer the links
    http://spdiaries.net/fix-exception-hresult-0x80131904/ 
    if you want to shrink the logs.
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Error - Exception from HRESULT: 0x80131904

    Hi,
    We have pages moved from SP 2007 to SP 2010. But while browsing these pages we are getting below error messages.
    04/12/2013 09:52:12.07 w3wp.exe (0x2B64) 0x2E50 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://xxx.com:80/local-sites/xxx/Swexxxh/xx_xx_xx/Pages/Lehdist%C3%B6tiedoteAlgomaCentralCorporationonvalinnutW%C3%A4rtsil%C3%A4ntoimittamaant%C3%A4ydetpropulsioj%C3%A4rjestelm%C3%A4tintegroituinerikkipesurein.aspx) 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.10 w3wp.exe (0x2B64) 0x2E50 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Incorrect syntax near '1'.     at System.Data.SqlClient.SqlConnection.OnError(SqlException
    exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.HasMoreRows()     at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean
    setTimeout)     at System.Data.SqlClient.SqlDataReader.NextResult()     at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean
    retryfordeadlock) 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.12 w3wp.exe (0x2B64) 0x2E50 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.12 w3wp.exe (0x2B64) 0x2E50 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=20.9512795260769 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.12 w3wp.exe (0x2B64) 0x2E50 SharePoint Foundation Runtime tkau Unexpected System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80131904    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String
    bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument,
    Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount,
    Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte&
    piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder)     at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String
    bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument,
    Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount,
    Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte&
    piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder) 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.12 w3wp.exe (0x2B64) 0x2E50 SharePoint Foundation General 72nz Medium Videntityinfo::isFreshToken reported failure. 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.13 w3wp.exe (0x2B64) 0x2E50 Wartsila Applications Common 12200 Critical Exception:  Exception from HRESULT: 0x80131904 Stack trace:     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException
    comEx)     at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean&
    pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified,
    String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId,
    Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String&
    pbstrContentTypeOrder)     at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation,
    Boolean& ghostedPage, Byte& verGhostedPage, String& siteRoot, Guid& siteId, Int64& bytes, Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount,
    Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext
    context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean& fGhostedPage, Byte& verGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl,
    String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders,
    Boolean& objectIsList, Guid& listId, Int64& bytes)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String virtualPath)    
    at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web)     at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext
    context)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.13 w3wp.exe (0x2B64) 0x2E50 Wartsila Applications Common 12200 Critical Exception:  Exception from HRESULT: 0x80131904 Stack trace:     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String
    bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument,
    Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount,
    Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte&
    piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder)     at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String
    bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument,
    Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount,
    Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte&
    piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder) 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.15 w3wp.exe (0x2B64) 0x2E50 SharePoint Foundation Runtime ba3q Medium Redirect to /pages/500error.aspx failed. Exception: System.Web.HttpException: Cannot redirect after HTTP headers have been sent.    
    at System.Web.HttpResponse.Redirect(String url, Boolean endResponse)     at Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags flags, HttpContext context, String queryString) 162ad4ea-f627-47b2-b8ec-51741204711b
    04/12/2013 09:52:12.15 w3wp.exe (0x2B64) 0x2E50 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://xxx.com:80/local-sites/xxx/Swexxxh/Uutiset_ja_tapahtumat/Pages/Lehdist%C3%B6tiedoteAlgomaCentralCorporationonvalinnutW%C3%A4rtsil%C3%A4ntoimittamaant%C3%A4ydetpropulsioj%C3%A4rjestelm%C3%A4tintegroituinerikkipesurein.aspx)).
    Execution Time=74.2652174305876 162ad4ea-f627-47b2-b8ec-51741204711b
    Any suggestions as how to resolve this issue?
    Best regard,
    Anitha Vyas

    Hi,
    Working urls
    http://xxxpassxxxx.xxxxxxxx.com/local-sites/xxxxxxx/yyyyyyy/xxxxxx_ja_xxxxxxxxxx/Pages/LehdistötiedoteWärtsilällämarkkinoidenlaajinvalikoimapainolastivedenkäsittelyjärjestelmiäjasiihenliittyviäpalveluita.aspx
    http://xxxpassxxxx.xxxxxxxx.com/local-sites/xxxxxxx/yyyyyyy/xxxxxx_ja_xxxxxxxxxx/Pages/LehdistötiedoteWärtsilätoimittaaintegroidutvoima-japropulsiojärjestelmätkolmeenoffshorehuoltoalukseen.aspx
    http://xxxpassxxxx.xxxxxxxx.com/local-sites/xxxxxxx/yyyyyyy/xxxxxx_ja_xxxxxxxxxx/Pages/Lehdistötiedote-Wärtsilä-toimittaa-australialaiselle-kaivokselle-53-MWn-kaasuvoimalaitoslaajennuksen-.aspx
    Not Working url
    http://xxxpassxxxx.xxxxxxxx.com/local-sites/xxxxxxx/yyyyyyy/xxxxxx_ja_xxxxxxxxxx/Pages/LehdistötiedoteWärtsilätestasionnistuneestiuuttahidaskäyntisenRT-flex50-moottorinD-versiotaturboahdinvauhtipyöränpuolella.aspx
    http://xxxpassxxxx.xxxxxxxx.com/local-sites/xxxxxxx/yyyyyyy/xxxxxx_ja_xxxxxxxxxx/Pages/LehdistötiedoteWärtsilälaajentaaX-sarjantuotevalikoimaansa92-kaliiperisellaelektronisestiohjatullahidaskäyntisellämoottoril.aspx

  • IDOC to MSsql,  error in mapping(Violation of PRIMARY KEY constraint)

    Hi All,
    I'm working with MATMAS IDOC  to MSSql. My SQL structure is of 8 tables(multiple statements) with primary key. In mapping i have used UPDATE_INSERT in action field for all the tables but still im getting "Violation of PRIMARY KEY constraint" for the last table structure. first 7 tables are single occurances but the 8th structure data is coming multple times from IDOC(E1MARMM).
    my 8th table structure is :
    STATEMENT8                                IDOC(MAPPED)
    TABLE8
    ACTION                                      UPDATE_INSERT
    TABLE                                           TABLENAME
    ACCESS     0 to Unbounded            MAPPED with E1MARMM
    Item_CD                                used oneasmany +splitbyvalue with MATNR
    Plant_ID                                  used oneasmany +splitbyvalue with WERKS  
    EAN_CAT                                 used oneasmany +splitbyvalue with NUMTP
    EAN                                             used oneasmany +splitbyvalue with EAN11
    Numerator_For_Conversion_To_BaseUOM
    Display_UOM
    Denominator_for_conversion_To_baseUOM
    KEY           0 to Unbounded                 MAPPED with E1MARMM
    Item_CD                                used oneasmany +splitbyvalue with MATNR
    Plant_ID                                  used oneasmany +splitbyvalue with WERKS  
    EAN_CAT                                 used oneasmany +splitbyvalue with NUMTP
    EAN                                             used oneasmany +splitbyvalue with EAN11
    Display_UOM
    in test tab its fine and fetching number of times according to MARMM segments  but in END to END testing its triggering an error stating that
    ""Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MM_EAN' (structure 'STATEMENT8'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_MM_EAN'. Cannot insert duplicate key in object 'dbo.MM_EAN'.  ""
    Plz help me regarding this..

    Hi team,
    How resolve the below error 
    Violation of PRIMARY KEY constraint 'PK_test'. Cannot insert duplicate key in object 'dbo.test'. The duplicate key value is (12610). (Source: MSSQLServer, Error number: 2627) ?
    Thanks,
    Ram
    RAM
    There can be two reasons
    1. The insert script used is having multiple instances of the records with Key as 12610 returned from the source query. If this is the issue add a logic to include only the unique set of id values for records by avoiding duplicates. There are several approaches
    for this like using ROW_NUMBER with PARTITION BY, using a join with derived table etc
    2. The record with Key 12610 already exist in your destination table and your script is again trying to insert another instances of record with same key. This can be avoided by adding a NOT EXISTS condition with a subquery which will check and return only
    those records which doesnt already exist in the source
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • SSIS - "Violation of PRIMARY KEY constraint. Cannot insert duplicate key in object ' tablename '. The duplicate key value is 1234 . Though there are no duplicate records.

    Hi,
    I am providing support to one of our clients, where we have jobs scheduled to load the data from the tables in the source database to the destination database via SSIS packages. The first time load is a full load where we truncate all the tables in the destination
    and load them from the source tables. But from the next day, we perform the incremental load from source to destination, i.e., only modified records fetched using changed tracking concept will be loaded to the destination. After full load, if we run the incremental
    load, the job is failing with the error on one of the packages "Violation of PRIMARY KEY constraint. Cannot insert duplicate key in object '<tablename>'. The duplicate key value is <1234>, even though there are no duplicate records. When we
    try debugging and running the failing package, it runs successfully. We are not able to figure out why the package fails and when we run the next day it runs successfully. Request you to help me in this regard.
    Thank you,
    Bala Murali Krishna Medipally.

    Hi,
    I am providing support to one of our clients, where we have jobs scheduled to load the data from the tables in the source database to the destination database via SSIS packages. The first time load is a full load where we truncate all the tables in the destination
    and load them from the source tables. But from the next day, we perform the incremental load from source to destination, i.e., only modified records fetched using changed tracking concept will be loaded to the destination. After full load, if we run the incremental
    load, the job is failing with the error on one of the packages "Violation of PRIMARY KEY constraint. Cannot insert duplicate key in object '<tablename>'. The duplicate key value is <1234>, even though there are no duplicate records. When we
    try debugging and running the failing package, it runs successfully. We are not able to figure out why the package fails and when we run the next day it runs successfully. Request you to help me in this regard.
    Thank you,
    Bala Murali Krishna Medipally.
    I suspect you are trying to insert modified records instead of updating.

  • Violation of PRIMARY KEY constraint 'XPKLocalizedLabel'. Cannot insert duplicate key in object 'MetadataSchema.LocalizedLabel'.

    Hello everyone,
    I am getting the following error while importing the CRM 2013 managed solution, Does anyone have any idea regarding this, What could be the possible cause for this ?
    "Violation of PRIMARY KEY constraint 'XPKLocalizedLabel'. Cannot insert duplicate key in object 'MetadataSchema.LocalizedLabel'. The duplicate key value is (184191c0-1d6f-e411-9400-e41f13be2efc, 25a01723-9f63-4449-a3e0-046cc23a2902, 0,
    Jan 1 1900 12:00AM). The statement has been terminated."
    and this guids in the error message is different from organization to organization. Where it is having fix with the solution or organization ?
    please help me to solve this.
    Thanks in advance, Veeresh

    Hi All,
    I have exported one unmanaged solution from my development CRM system and imported in to production, while importing i am getting the following error. 
    "Violation of PRIMARY KEY constraint 'XPKLocalizedLabel'. Cannot insert duplicate key in object 'MetadataSchema.LocalizedLabel'. The duplicate key value is (184191c0-1d6f-e411-9400-e41f13be2efc, 25a01723-9f63-4449-a3e0-046cc23a2902,
    0, Jan 1 1900 12:00AM).
    The statement has been terminated."
    The key point i have noticed here is, recently i have updated my CRM system with server pack 1 and development organization is created after the server pack is installed and production organization is created before the server pack is installed. and
    i have tried this in some other organization which is created before the server pack 1 installed it is failed there also and some organization which is created after the server pack 1 is installed it is imported successfully.
    so i can see here it is not able to import solution into organization which is created before server pack 1 is installed from which is created after the server pack 1 is installed.
    please help me to solve this error.
    Thanks,
    Veeresh
    Thanks in advance, Veeresh

  • Violation of PRIMARY KEY constraint . Cannot insert duplicate key in object

    hi i am using SQL Server, when i try to insert data from my jsp page it is inserting the data double time and when i try to submit for second time it is showing the following error.
    Violation of PRIMARY KEY constraint 'PK_EMPLOYEE'. Cannot insert duplicate key in object 'EMPLOYEE'.
    I didnt set identity for primary key. If i try to set identity to true then it is allowing data to submit only if i uncheck my primary key column in cached row set. And if i uncheck that primary key element then i can not retrieve the data by edit button. So how to solve this problem.
    Please any help would be appreciated.
    Thank You in Advance.

    Hi,
    I am providing support to one of our clients, where we have jobs scheduled to load the data from the tables in the source database to the destination database via SSIS packages. The first time load is a full load where we truncate all the tables in the destination
    and load them from the source tables. But from the next day, we perform the incremental load from source to destination, i.e., only modified records fetched using changed tracking concept will be loaded to the destination. After full load, if we run the incremental
    load, the job is failing with the error on one of the packages "Violation of PRIMARY KEY constraint. Cannot insert duplicate key in object '<tablename>'. The duplicate key value is <1234>, even though there are no duplicate records. When we
    try debugging and running the failing package, it runs successfully. We are not able to figure out why the package fails and when we run the next day it runs successfully. Request you to help me in this regard.
    Thank you,
    Bala Murali Krishna Medipally.
    I suspect you are trying to insert modified records instead of updating.

  • Violation of PRIMARY KEY constraint 'PK_test'. Cannot insert duplicate key in object 'dbo.test'. The duplicate key value is (12610). (Source: MSSQLServer, Error number: 2627) ?

    Hi team,
    How resolve the below error 
    Violation of PRIMARY KEY constraint 'PK_test'. Cannot insert duplicate key in object 'dbo.test'. The duplicate key value is (12610). (Source: MSSQLServer, Error number: 2627) ?
    Thanks,
    Ram
    RAM

    Hi team,
    How resolve the below error 
    Violation of PRIMARY KEY constraint 'PK_test'. Cannot insert duplicate key in object 'dbo.test'. The duplicate key value is (12610). (Source: MSSQLServer, Error number: 2627) ?
    Thanks,
    Ram
    RAM
    There can be two reasons
    1. The insert script used is having multiple instances of the records with Key as 12610 returned from the source query. If this is the issue add a logic to include only the unique set of id values for records by avoiding duplicates. There are several approaches
    for this like using ROW_NUMBER with PARTITION BY, using a join with derived table etc
    2. The record with Key 12610 already exist in your destination table and your script is again trying to insert another instances of record with same key. This can be avoided by adding a NOT EXISTS condition with a subquery which will check and return only
    those records which doesnt already exist in the source
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • [SQL Server]Violation of PRIMARY KEY constraint 'DeploymentSummary_PK'. Cannot insert duplicate key in object 'dbo.DeploymentSummary'. The duplicate key value is

    I have migrated my SCCm 2007 environment to SCCM 2012 SP1 CU4.
    I noticed in the System Status\Component Status\SMS_STATE_SYSTEM a lot of errors like the one below:
    Microsoft SQL Server reported SQL message 2627, severity 14: [23000][2627][Microsoft][SQL Server Native Client 11.0][SQL Server]Violation of PRIMARY KEY constraint 'DeploymentSummary_PK'. Cannot insert duplicate key in object 'dbo.DeploymentSummary'. The duplicate key value is (1, 0, S0220438, 0). : spUpdateClassi
    Please refer to your Configuration Manager documentation, SQL Server documentation, or the Microsoft Knowledge Base for further troubleshooting information.
    When looking up the deployment ID and recreate the Deployment the problem is solved. But I have 700 packages and don't want to manually do this action on all packages. I think it is related to the migration i did and something went wrong there :-(
    Besides it will retriggers the deployment to the clients which is also not preferred.
    Is there another way to solve this by e.e.g do something directly in the SQL database tables ?

    Hi,
    It is not supported by Microsoft that do something directly in SQL database.
    If you want to do that, you could make a call to CSS.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Violation of PRIMARY KEY constraint in JDBC receiver

    Hi Experts !
    I am configuring a JDBC Receiver. I need to insert the records and if the same record is coming again i need to update the records in my database.So I have used action "UPDATE_INSERT". But now I am getting the error,
    "Violation of PRIMARY KEY constraint-Cannot insert duplicate key in object " .. Pls help me out !!!  It is very urgent!!
    Thanks,
    Laawanya

    Lawanya,
    It seems that you are trying to update the primary key itself..
    One thing is sure The error is related to data....
    Do this at JDBC receiver Communication channel :
    Under advanced option : use parameter "logSQLParameter" and use value "TRUE"...by this way you will be able to see the values passing through JDBC receiver .
    And then check whether the same value exist in Table or not...
    Feel free to ping for further clarification..
    Regards,

  • Violation of PRIMARY KEY constraint

    Hello,
    I have the following table in my oracle database :
    create table FLTRPTDATA
    esn VARCHAR2(10) default 'ALL' not null,
    periodid NUMBER not null,
    yearid NUMBER default 2007 not null,
    reportid NUMBER not null,
    entryid NUMBER not null,
    operatorid VARCHAR2(30) default 'XXX' not null,
    param1 VARCHAR2(200),
    param2 VARCHAR2(200),
    param3 VARCHAR2(200),
    param4 VARCHAR2(200),
    param5 VARCHAR2(200),
    param6 VARCHAR2(200),
    param7 VARCHAR2(200),
    param8 VARCHAR2(200),
    param9 VARCHAR2(200),
    param10 VARCHAR2(200),
    acid VARCHAR2(8) default 'ALL' not null
    and also have a composite primary key for the table as follows :
    add constraint PK_FLTRPTDATA primary key (ESN, PERIODID, YEARID, REPORTID, ENTRYID, OPERATORID, ACID)
    using index
    So I expect that I can only insert a new row into the table if the combination of values for ESN,PERIODID,YEARID,REPORTID,ENTRYID,OPERATORID and ACID are unique.
    I am running some software that inserts new rows into the table (via an INSERT SQL statement).
    When the software runs, it inserts a certain number of rows, but then stops when inserting one of the rows with a Violation of PRIMARY KEY constraint 'PK_FLTRPTDATA'. Cannot insert duplicate key in object 'fltRPTDATA' error.
    This implies that the row being inserted contains values for the composite key columns that are NOT unique. However, when I look at the data it fails to insert, I can see that there are NO rows in the table for this combination of column values.
    If I then try to MANUALLY insert the same row myself (via my own SQL statement in SQL Developer), the row is inserted with no error.
    When I run the software, the first thing it does is delete any rows in the table that it will subsequently insert, so there cannot be any duplicate entries in the table before the inserts take place. I have run the SQL statement that does the deletion myself manually, and it does delete all of the relevant rows.
    I have checked the code (I am not the author), and I cannot see anything that would cause the same INSERT to be executed twice.
    I have checked the log file generated by the software, and the INSERT is only attempted once (according to the log).
    I don't understand why the insert fails when I run the software, and I am wondering if anyone can shed any light on the issue? Has anyone seen this scenario before where you get a PRIMARY KEY constraint violation on a composite key, where the data being inserted IS unique?
    Thanks for any help and apologies if this is in the wrong forum,
    Jason.

    >
    I don't understand why the insert fails when I run the software, and I am wondering if anyone can shed any light on the issue? Has anyone seen this scenario before where you get a PRIMARY KEY constraint violation on a composite key, where the data being inserted IS unique?
    >
    One way to find those records would be to create and use a dml error log table. Then those records would get logged to the log table and would not prevent the insert of the valid records.
    See Loading Tables in the DBA Guide
    http://docs.oracle.com/cd/E11882_01/server.112/e17120/tables004.htm#InsertDMLErrorLogging
    Then you can examine the records in the log table and see why they were rejected.

  • Violation of PRIMARY KEY constraint 'PK_POP'

    Hi
    When i am creating a new interface in ODI. On saving it the following error pops up:
    com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_POP'. Cannot insert duplicate key in object 'dbo.SNP_POP'.
    The error is irrespective of the datastores i use to create the interface
    Any help appreciated

    question for you , Is this a new work repository or a migrated Work repository and if migrated , does it have the same Work repository Id as that of the source ?
    It looks like the new Incrementing Internal Id which ODI is trying to create is already present in Work repository and which is causing to PK constraint on SNP_POP.
    Also try this , try duplicating any old interface and are you still getting the same error message?

  • Violation of PRIMARY KEY constraint during sending NCCode to system

    MES system is: (6.0.4.22)
    External software is sending NCData to MES system and sometimes gets error:"Violation of PRIMARY KEY constraint 'PK__BC_JMSQU__3F9FE7012CDE6A9D'. Cannot insert duplicate key in object 'SAPEL1DB.BC_JMSQUEUE'. The duplicate key value is (36, 26015261174081363, 3500000000000000001)"
    I provide client machine log with data details in file: "client device.txt"
    and default trace part in file: "default_trace.txt"

    Hi!
    You might be using NC Codes with Message Type assigned or you turned on RTW for NC. Please check if disabling these features makes any change.
    Also you can play with "Enable SFC Complete JMS Message" system rule.
    Regards,
    Sergiy

  • SharePoint 2013 Error Exception from HRESULT: 0x80131904 Some sites are working while others give this error

    I can access some of the sites,  but others are throwing this error code... not sure why it appears that it is every other site almost...
    I can actually get this error, at a top level site, go to a sub-site and that site is displayed.
    Any ideas on how to resolve this error..
    the Central Admin site is down also, just a blank page is returned. no error message...
     we were able to add extra space on the VM brought back the sites but now the Central Admin site throws  a 404 not found...

    Hi ,
    According to your description, my understanding is that after adding extra space on the SQL server VM, the error 0x80131904 disappeared, but the CA got 404 error. Is it right?
    Afer adding extra space on SQL server, make sure the SQL server is online and run SharePoint 2013 Products Configuration Wizards, when running, select “don’t disconnect from the server farm”.
    Check whether this issue occurred on other machines. If CA is working from other computer and only server is facing this issue then you need to create diableloopbackcheck registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa. The value should
    be 1 .
    Please go to IIS->the server->ISAPI and CGI Restrictions, check whether there are four 'Microsoft SharePoint Foundation 2010' entries. If not, you need to create the following entries with the name as 'Microsoft SharePoint Foundation 2010':
                     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\_vti_aut\author.dll
                     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\_vti_adm\admin.dll
                     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\shtml.dll
                     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll
    Check Allow extension path of execute to allow the restriction to run automatically.
    If this issue still exists, please check the log file to find more information about this issue. The path of the log file is : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Or you can use Event Viewer(Start->Run->event viewer) to find the log.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • SSRS Reports " Failed to unload app domain DefaultDomain.The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015). error

    Hi,
    I'm using SQL Server 2008R2 Reporting Services.
    When i click on Web Services URL link it throws the below error.
    "Report Server has encountered a SharePoint error. (rsSharePointError) Get Online Help
    The system cannot find the path specified. (Exception from HRESULT: 0x80070003)"
    and in the Event viewer i can see the below error for reporting services.
    "Failed to unload app domain DefaultDomain.  The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)."
    Any help would be greatly appreciated.

    Related thread has a solution:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e97b0c14-c428-4b83-b5a2-dc58eb6be258/ssrs-2008-failed-to-unload-app-domain-defaultdomain-exception-from-hresult-0x80131015?forum=sqlreportingservices
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Maybe you are looking for

  • MacBook Pro 15" video card problems (i think)

    Can anyone tell me if this is indeed a video card problem? MBP 15" info (Dec. 2011) Processor 2.4 GHz Intel Core i7 Memory 4GB 1333 MHz DDR3 Graphics Intel HD Graphics 3000 384 MB OS X Lion 10.7.5 This is what happened: I use my mbp heavily because I

  • Merge Versus Portfolio Feature in Adobe Pro 9

    I am new to this program and learning as I go. I am in commercial real estate and have a need to send clients spread sheets, word documents, jpegs and pdf files. Instead of sending all of these seperately I want to put all the documents into one file

  • Crystal report in BW

    Hi everyone; I need help, my client want to use crystal report in BW and I don't know how to proceed in this case, So does anyone has solid documents which can be shared to me! It would be highly appreciated. Email: [email protected] Thank you. Regar

  • IPhoto in Tiger OS X 10.4.11

    How do I get iPhoto on a Mac that is running OS X 10.4.11? I bought a PowerBook G4 used for a second computer and it has the above mentioned OS X installed in it, but no iLife, or at least no iPhoto. How do I go about getting the right version of iPh

  • After updating ios7.0.3 on my ipad 4 I found I can't use imessage. How do I fix it?

    After updating my ipad4 with ios 7.0.3 i found I can no longer send messages through imessage. It worked fine before. Any ideas