I move the reporting service database from a SQL2008R2 installation to SQL2019 installation. I have done this process as recommended, save encr key - detach - copy files - attach - delete row from table keys - restore encr key - start ssrs - connect the
new database. When i connect to the new report server http//myserver:80/reports I get an error:
The service is not available.
The report server isn’t configured properly. Contact your system administrator to resolve the issue. System administrators: Check the report server trace log for details.
When starting reporting services it reports an error in RSManagement_xxxxxxx.log:
2020-04-28 12:34:00.2588|INFO|1|File Logger created: C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\LogFiles\RSManagement_2020_04_28_12_34_00.log - level Info, will roll at 32 Mb, process id 472
2020-04-28 12:34:00.3057|INFO|1|Do not dump on: Microsoft.BIServer.HostingEnvironment.Exceptions.TrustedProcessTokenExpiredException
2020-04-28 12:34:00.3369|INFO|1|SKU: SQL Server Standard
2020-04-28 12:34:00.4619|INFO|1|The web server needs to run elevated
2020-04-28 12:34:00.4619|INFO|1|Web Server is running.
2020-04-28 12:34:00.8525|INFO|8|Creating default Global MeterCollector| RequestID = s_0f9e159f-8505-419b-928c-3c4777910843
2020-04-28 12:34:00.9619|INFO|5|Could not find ProductInfo table. Will do first-time upgrade.| RequestID = s_0f9e159f-8505-419b-928c-3c4777910843
2020-04-28 12:34:00.9619|INFO|8|Database Version Detection: Create DB
Db Version = NULL
Code Version = Sku: SsrsStandard, BuildNumber: 15.0.1102.675, DbSchemaHash: 745B9EAC6F7E2F5161F9A19F9836BB98FEE44D599D4E14E2083CF3308FA95C0F
Resulted in status UpgradeRequired| RequestID = s_0f9e159f-8505-419b-928c-3c4777910843
2020-04-28 12:34:00.9619|INFO|8|Upgrading ReportServer database to version 15.0.1102.675 hash 745B9EAC6F7E2F5161F9A19F9836BB98FEE44D599D4E14E2083CF3308FA95C0F| RequestID = s_0f9e159f-8505-419b-928c-3c4777910843
2020-04-28 12:34:01.0869|ERROR|8|Aborting SQL batch sccript! Error executing SQL batch script at entry
------------
--- T.0.9.45 to 100 ---
In the end of the log-file there is folowing errormessage:
--------------------------------------------------
------------- Creation of Stored Procedures
--------------------------------------------------
use [ReportServer]
------------
| RequestID = s_0fdfda16-67e8-4fdf-bc1b-949462e48d63 System.Data.SqlClient.SqlException (0x80131904): Column names in each table must be unique. Column name 'EditSessionID' in table 'SessionData' is specified more than once.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.BIServer.HostingEnvironment.Storage.MeteredSqlConnection.ExecuteBatchScript(String script, TimeSpan individualCommandTimeout)
ClientConnectionId:a89d3bc0-9ccc-424c-8f3f-371cfdf0fd8e
Error Number:2705,State:4,Class:16
2020-04-28 12:34:52.3256|FATAL|9|Database upgrade failed!! The database may now be in an inconsistent state.| RequestID = s_0fdfda16-67e8-4fdf-bc1b-949462e48d63 System.Data.SqlClient.SqlException (0x80131904): Column names in each table must be unique.
Column name 'EditSessionID' in table 'SessionData' is specified more than once.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.BIServer.HostingEnvironment.Storage.MeteredSqlConnection.ExecuteBatchScript(String script, TimeSpan individualCommandTimeout)
at Microsoft.BIServer.Management.WebApi.DatabaseUpgrade.DatabaseUpgrader.GetStatusAndUpdateIfRequired(ISqlAccess sqlAccess)
ClientConnectionId:a89d3bc0-9ccc-424c-8f3f-371cfdf0fd8e
Error Number:2705,State:4,Class:16
can anybody help me with this issue?!
kind regards
Stefan