April 14, 2010 at 2:17 am
Hi,
We have sql server 2005 reporting services on server A & its databases on Server B. I'm seeing the below error message in the log files
ReportingServicesService!dbcleanup!4!4/14/2010-00:02:31:: e ERROR: Sql Error in CleanExpiredSessions: System.Data.SqlClient.SqlException: Cannot resolve the collation conflict between "Latin1_General_CI_AS_KS_WS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.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()
at Microsoft.ReportingServices.Library.DatabaseSessionStorage.CleanExpiredSessions()
ReportingServicesService!library!4!4/14/2010-00:02:31:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams
ReportingServicesService!dbcleanup!4!4/14/2010-00:12:31:: e ERROR: Sql Error in CleanExpiredSessions: System.Data.SqlClient.SqlException: Cannot resolve the collation conflict between "Latin1_General_CI_AS_KS_WS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation
After analyzing, I came to know that ReportServer & ReportServerTembDB have the collations settings as SQL_Latin1_General_CP1_CI_AS
But we should have the collation settings as Latin1_General_CI_AS_KS_WS for ReportServer & ReportServerTembDB right?
I donot know why the previous DBA set the collation settings for ReportServer & ReportServerTembDB as SQL_Latin1_General_CP1_CI_AS
Please advice what steps I can take now
Thanks
May 7, 2010 at 8:43 am
Hi,
Were you able to resolve the issue? I'm facing exactly the same problem and trying to resolve it. Please post the steps you took to resolve the issue.
Thanks
May 7, 2010 at 12:58 pm
If the issue is in SQL code, you can use COLLATE to convert one to the other:
select * from DB_CollationA..TableA A
join DB_CollationB..TableB B on A.Fld1 = B.Fld1 collate Latin1_General_BIN
May 8, 2010 at 8:20 am
I was able to resolve this issue and below are the steps. Hopefully it will be helpful to others
-- My collation issues were with the ReportServer and ReportServerTempDB databases. I had to drop the ReportServerTempDB database and re-create it. After that I assigned the proper permissions to RSExecRole and restarted the IIS and Reporting Services and it worked.
November 19, 2012 at 2:59 pm
Could you explain what you mean by changing the permissions to the RSExecRole?? I'm having the same issue and havne't been able to get this to work. Thank you in advance. If its easier my email is lanna.jones@gcmchealth.com
February 4, 2013 at 1:07 pm
USE [ReportServerTempDB]
GO
/****** Object: Schema [RSExecRole] Script Date: 02/04/2013 13:45:30 ******/
CREATE SCHEMA [RSExecRole] AUTHORIZATION [RSExecRole]
GO
February 5, 2013 at 4:56 am
marygzaudtke (2/4/2013)
USE [ReportServerTempDB]GO
/****** Object: Schema [RSExecRole] Script Date: 02/04/2013 13:45:30 ******/
CREATE SCHEMA [RSExecRole] AUTHORIZATION [RSExecRole]
GO
If you use the Reporting Services Configuration Manager to create the new databases, then the permissions would have been set at creation time.
Did you lose all your catalog items and have to re-deploy? RSScripter is a great little tool that can script out all the Report Server items to .rss scripts that allow you to re-create everything.
--------------------
Colt 45 - the original point and click interface
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply