Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Violation of PRIMARY KEY constraint 'PK_PersistedStream'

$
0
0
We are facing one issue related to SSRS. Appreciate any pointers in identifying the real cause of this issue. Symptoms as below. • Our application is a windows smart client with WCF based App server. Report Viewer control is used for rendering reports. Server side reports are used. • It happens for only for few reports when accessed from client through report viewer control. It is not happening all the time and the symptom is random • The error message is as below Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database., ; chunks!ReportServer_0-6!3e48!07/08/2011-10:59:23:: w WARN: Rolling back shared chunk transaction for snapshot 'a60631fe-4866-4c2c-b976-63ecfbe6760e', Permanent=False. library!ReportServer_0-6!3e48!07/08/2011-10:59:23:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. ---> System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK_PersistedStream'. Cannot insert duplicate key in object 'dbo.PersistedStream'. The duplicate key value is (emdav1y45x40ymngxfiev245, 1). 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.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.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ReportingServices.Library.InstrumentedSqlCommand.<ExecuteNonQuery>b__0() at Microsoft.ReportingServices.Library.SqlBoundaryWithReturn`1.Invoke(Method m) --- End of inner exception stack trace ---

Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>