APP
None Defined
Migration of Customer Data Fails with APP 9.2
APP: Cannot resolve the collation conflict between “SQL_Latin1_General_CP1_CI_AS” and “SQL_Latin1_General_CP850_CI_AS” in the equal to operation
Corruption in DB
1) Need to change collation of the customer database to SQL_Latin1_General_CP850_CI_AS. Direct collation change didn`t work. I had to make the database work as single user mode first, then reset collation and then again change the database to multi user mode. (a backup of the database will be good before this operation.) SQL queries used to change collation: ALTER DATABASE [database] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; GO ALTER DATABASE [database] COLLATE SQL_Latin1_General_CP850_CI_AS ; GO ALTER DATABASE [database] SET MULTI_USER; GO 2) Next step is to remove the APP tables which were created with the SQL_Latin1_General_CP1_CI_AS collation. For that execute the below queries in SQL editor Drop TABLE TWBS_CW_DefaultReports ; Drop TABLE TWBS_CW_PrintPrefs ; Drop TABLE TWBS_CW_DefaultReports ; Drop TABLE TWBS_CW_ReportPermissions ; Drop TABLE TWBS_CW_ReportPermissions ; Drop TABLE TWBS_CW_UserRoles ; Drop TABLE TWBS_CW_UserRoles ; Drop TABLE TWBS_CW_Attachments ; Drop TABLE TWBS_CW_Attachments ; Drop TABLE TWBS_CW_InlineImage ; Drop TABLE TWBS_CW_BatchDefs ; DROP TABLE TWBS_CW_BatchRows ; DROP TABLE TWBS_CW_QueryData ; DROP TABLE TWBS_CW_Roles ; DROP TABLE TWBS_CW_PivotQueryData ; DROP TABLE TWBS_CW_KPIDetails ; DROP TABLE TWBS_CW_ModuleSettings ; DROP TABLE TWBS_CW_ReportDefs ; DROP TABLE TWBS_CW_ReportDefs ; DROP TABLE TWBS_CW_RptDelivery ; DROP TABLE TWBS_CW_Msgs ; DROP TABLE TWBS_CW_MapParam ; DROP TABLE TWBS_CW_DelTypes_Lookup ; DROP TABLE TWBS_CW_BCLookup ; DROP TABLE TWBS_CW_MDLookup ; 3) Start APP. New APP tables will be created in B1 database. Then it will be prompted for migration from TWBS_SBO-common and can continue accordingly.
Solution
29 Jun 2017