Groups | Blog | Home
all groups > sql server reporting services > may 2006 >

sql server reporting services : Upgrading reporting service database from 2000 to 2005 error


Pete
5/17/2006 2:17:02 PM
I am trying to upgrade my SQL 2000 reporting service database to 2005. I am
following the direction outlined in SQL Server 2005 Books online, article
number 143724, Migrating reporting Services. When I try to upgrade my
reporting service database I receive the following error, when Upgrading
ther Reporting Services database

System.Data.SqlClient.SqlException: ALTER TABLE DROP COLUMN failed because
column 'ExecutionType' does not exist in table 'SessionData'.
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.RunExecuteNonQueryTds(String
methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult
result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at ReportServicesConfigUI.SqlClientTools.SqlTools.ApplyScript(String
connectionString, String script)

I have applied SP1 to the 2005 installation. I am setup a named instance on
the 2005 server and am not using the default virtual directories for the 2005
setup. The 2000 server I am migrating from is version 8.00.760 and the
version of the Reporting Service is 8.00.1038.00. Any help in identifing
this issue would be greatly appreciated.

Thanks
Pete

stupy1 NO[at]SPAM hotmail.com
5/19/2006 11:14:07 AM
I'm experiencing the same error. The only difference is - I am using
the default virtual directories. Any help from Microsoft on this would
be great.

thanks,
Justin



[quoted text, click to view]
stupy1 NO[at]SPAM hotmail.com
5/19/2006 11:49:08 AM
The work around I found is to script out the database upgrade from RS
Config manager and apply the script manually.

Starting on line 25 of the script make sure these two statements have
executed.

--ALTER TABLE [dbo].[SessionData] DROP COLUMN [ExecutionType]
--GO

--ALTER TABLE [dbo].[SessionData] ADD [AwaitingFirstExecution] bit NULL

They should have, because this is what is causing the error. If so
then comment them out and re-run the script.

after success return to RS config manager and apply the database. you
won't be promted for an upgrade.

thanks,
Justin
AddThis Social Bookmark Button