Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 4 of 4 total |
Migrator and 2.04b2 |
Sun, Oct 17 2010 7:28 AM | Permanent Link |
Peter | Hello
I use the following to create a new database, which I would like to migrate an old DBISAM 3 database into. Unfortunately, I am doing something wrong, and the migrator is never available in the drop-down list, and appears to be concealed from the database. CREATE DATABASE "Client" PATH 'C:\Clients\ClientEDB' DESCRIPTION 'Client Database' Then I create the module... CREATE MODULE "migratedbisam3" PATH 'C:\Clients\ClientEDB\edbmigratedbisam3.dll' DESCRIPTION 'DBISAM3 Migrator' Note the non-standard name of the module. I tried using the name of the dll, but that didn't work either. This code displays the module correctly... SELECT * FROM Configuration.Modules WHERE Name = 'migratedbisam3' However, this does not do anything, error code #401... MIGRATE DATABASE FROM "migratedbisam3" WITH DATA ...The migrator migratedbisam3 does not exist in the configuration EDBConfig Then even the DROP statement fails, with a # 401. I can't see the error of my ways, can you? Regards & TIA Peter |
Sun, Oct 17 2010 8:07 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Peter
The only thing I can see is that you're missing the USING clause Roy Lambert [Team Elevate] |
Sun, Oct 17 2010 8:16 AM | Permanent Link |
Uli Becker | Peter,
I don't see anything wrong in your code, but you could give this a try: http://tinyurl.com/2uragxk Regards Uli |
Sun, Oct 17 2010 8:07 PM | Permanent Link |
Peter | Roy & Uli
I had to do one additional step, after creating the module... CREATE MIGRATOR "DBISAM3Migrator" MODULE "migratedbisam3" DESCRIPTION 'DBISAM3 Migrator Module' Then the statement... MIGRATE DATABASE FROM "DBISAM3Migrator" USING DatabaseDirectory = 'C:\Clients\ClientDatabase' WITH DATA ...worked properly, and the migrator named DBISAM3Migrator appeared in the list of migrators in the EDBManager. Thanks for your suggestions Peter |
This web page was last updated on Monday, May 6, 2024 at 12:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |