We tried to run the 10.3.1 Forms installer and when we browse to the Forms config and it requests to Update the database. It returns an error. The event log shows:
An error was encountered while updating the database. [LFF3200-GeneralMigrationError]
Details:
URL:
Error: GeneralMigrationError
Date: 11/30/2018 12:20:06 PM (Eastern Standard Time)
HTTP Status Code: 400
Business Process ID: 0
Business Process Name:
Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An error was encountered while updating the database. [LFF3200-GeneralMigrationError]
at FormsConfig.Infrastructure.DatabaseInfo.UpgradeDatabase()
at FormsConfig.Controllers.ConfigurationController.RunDatabaseUpgrade(DatabaseInfo databaseInfo, String Identity)
Inner exception: System.Data.SqlClient.SqlException
Message: Violation of UNIQUE KEY constraint 'IX_bp_data_constraints_u'. Cannot insert duplicate key in object 'dbo.cf_bp_data'.
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 FormsConfig.Util.DatabaseHelper.UpgradeDBSchema(SqlConnection conn, String schemFolder, Int32 curStep)
at FormsConfig.Infrastructure.DatabaseInfo.UpgradeDatabase()