RevisionID: 4230 for revision set 1460 fails when upgrading from 3.0 to 4.0

When upgrading from Blackbaud CRM version 3.0 to version 4.0, the following error may occur: 
Running revision ... RevisionID: 4230 for revision set 1460
Loading xml catalog item: 4230.CMS_SessionVariableBackup.Table.xml
The "RunServiceRevisions" task failed unexpectedly.
Blackbaud.AppFx.Platform.BuildTasks.RunServiceRevisionsHelpers.RevisionExecutionException: An error occurred while executing a service revision. Procedure Return Code: 0
Revision text: LoadSpec: 4230.CMS_SessionVariableBackup.Table.xml Blackbaud.AppFx.Galileo.ServiceRevisions.Specs1460.zip ---> Blackbaud.AppFx.Platform.BuildTasks.RunServiceRevisionsHelpers.LoadSpecException: Procedure Return Code: 0 ---> System.Exception: The ALTER TABLE statement conflicted with the CHECK constraint "CK_CMS_SESSIONVARIABLEBACKUP_TYPECODE". The conflict occurred in database "<databasename>", table "dbo.CMS_SESSIONVARIABLEBACKUP", column 'TYPECODE'. ---> System.Data.SqlClient.SqlException: A .NET Framework error occurred during execution of user defined routine or aggregate 'USP_LOADSPEC_AS_STRING': 
System.Data.SqlClient.SqlException: The ALTER TABLE statement conflicted with the CHECK constraint "CK_CMS_SESSIONVARIABLEBACKUP_TYPECODE". The conflict occurred in database "41565_EC_40", table "dbo.CMS_SESSIONVARIABLEBACKUP", column 'TYPECODE'.
Download and install the latest patch which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch. 

Environment

 Blackbaud CRM
 4.0
 4.0
 Service Pack 9

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.