SalesPartner
p +6444711849
  • Home
  • News
  • Software
    • SalesPartner Cloud
    • Websites
  • Pricing
  • Downloads
  • Contact us

BDE V12 to SQL V14 Troubleshooting Walkthrough

28/7/2020

0 Comments

 
In this technical guide we'll resolve several issues that can arise when porting a legacy database from version 12 to 14.
Preliminary steps:
  • Delete orphaned property records via Settings, Misc
  • Delete duplicate activity via Settings, Misc
  • Delete online website photo logs via Settings, Misc (re-upload photos)
  • Delete empty property / contact records via LE / CE, check for associated activity records
Run the version 14 updater, in the Migrate Data window open Advanced to display the error log.
While the Migrator is running, open Task Manager and right click the process to open the file location so that the Migrator can be restarted later on.
%AppData%\Roaming\Spartner\Temp
Picture
When prompted to upgrade to SalesPartner 14 click no. Copy the error log contents to Notepad.
Picture
Firstly we'll close the migrator then delete SYSTEM-BAK.DB from C:\spartner\Data. This is a corrupt file that is not required.
Picture
Now we'll restart the migrator from the location discovered above. Each error in the log must be resolved so that the migration can proceed.
CONTACT Copy Error:Not exact read/write.
File: C:\spartner\Data\Contact.MB
Table: C:\spartner\Data\Contact.MB
LISTINGS Copy Error:Out of memory
REALENZ_MAIN Copy Error:[FireDAC][Phys][SQLite] ERROR: no such table: REALENZ_MAIN
SYSTEM-BAK Exec Error:[FireDAC][Phys][SQLite] ERROR: near "-": syntax error
SYSTEM-BAK Copy Error:[FireDAC][Phys][SQLite] ERROR: near "-": syntax error
SYSTEM Copy Error:'-227250587.0' is not a valid timestamp
Select Contact.DB and Copy Data
Select Listings.DB and Copy Data
Select RealENZ_Main.DB and Create Table, then Copy Data
SYSTEM-BAK
(deleted earlier)
Select System.DB and Copy Data.
Picture
Finally click Begin and the upgrade sequence will resume. If the migration has run successfully, the SystemFile will be intact upon launching and the database will not be empty. Migrations of this scale are completed in a SalesPartner lab virtual machine (with a system checkpoint in place), then restored from a backup into the production instance.

Addendum

Duplicate data fields

In another lab the version 12 sample contained a couple of duplicate data files that were logged as errors during the migration. The solution is to delete the extra files (example pictured) before running or restarting the migration. You can identify them by the number next to the file name.
Picture

Empty advert cost records

For an office with advertising costing and tracking records the following error was encountered during the migration against the AdvertSizeCost.DB table:
Field 'ListOrder' must have a value.
Picture
The solution is to close the migrator and open SalesPartner, Settings, Protected Settings, Data Explorer. Then Execute
UPDATE AdvertSizeCost SET ListOrder = 9999 WHERE ListOrder IS NULL
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    AnyDesk Windows Link
    AnyDesk Mac Link
    Log in

    Admin
    Geoff Duncan

    Archives

    June 2022
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017
    April 2017
    March 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013

    Categories

    All

    RSS Feed

Picture
"SalesPartner helps me extract maximum value from my
biggest asset - my database".

Andrew Duncan
www.agentmonday.com


Picture
Developed in Wellington, New Zealand
SalesPartner Software - established in 1993
Leading-edge software for real estate salespeople