Error with fbk-restore into SQL Database

Kowa
Member Posts: 926
I'm stuck with the following situation :
2 Databases, Database A with Add-on X, Database B with Add-on Y. A company from DB A is to be transferred to DB B (3 companies so far), to become the 4. company there. : DB B has 84 tables with the property "DataPerCompany=No" :roll:
The fields from Add-on X in A have all been cleared, otherwiese the restore aborts immediately. All tables in DB A, which have "DataPerCompany=No" in DB B, have had their entries deleted.
I've created an .fbk backup for DB A without checking "Data common to all companies" und without "Application Objects".
If I use a native DB, I can import the restore without problems.
If I restore into a SQL-Database (client 4.0 SP2), an errors out with a message that data common to all companies exist in the database.
Any suggestions on how to get the SQL Server to restore the fbk-file welcome.
2 Databases, Database A with Add-on X, Database B with Add-on Y. A company from DB A is to be transferred to DB B (3 companies so far), to become the 4. company there. : DB B has 84 tables with the property "DataPerCompany=No" :roll:
The fields from Add-on X in A have all been cleared, otherwiese the restore aborts immediately. All tables in DB A, which have "DataPerCompany=No" in DB B, have had their entries deleted.
I've created an .fbk backup for DB A without checking "Data common to all companies" und without "Application Objects".
If I use a native DB, I can import the restore without problems.
If I restore into a SQL-Database (client 4.0 SP2), an errors out with a message that data common to all companies exist in the database.
Any suggestions on how to get the SQL Server to restore the fbk-file welcome.
Kai Kowalewski
0
Comments
-
You can't restore one customized database into another one without first merging the objects. You will need to make it so that both databases have the same objects before you can combine their companies into one database.0
-
DenSter wrote:You can't restore one customized database into another one without first merging the objects. You will need to make it so that both databases have the same objects before you can combine their companies into one database.
, but I neither want to or can merge anything here ( the functions of add-on in DB A are not needed anymore, and I only have full access to the objects in Database
, I only need the data in the standard fields. There are some add-on fields in the new database B which need to be filled after the restore so that the functions of add-on B are supported, but to reach that stage I need a complete restore.
After some more testing, it rather appears to be a client issue. I tested it on my local machine with Version 5 native DB's, it works fine. If I try the same with Version 4 SP2 or SP3, the error message comes up.Kai Kowalewski0 -
Kowa wrote:DenSter wrote:You can't restore one customized database into another one without first merging the objects. You will need to make it so that both databases have the same objects before you can combine their companies into one database.
, but I neither want to or can merge anything here ( the functions of add-on in DB A are not needed anymore, and I only have full access to the objects in Database
, I only need the data in the standard fields. There are some add-on fields in the new database B which need to be filled after the restore so that the functions of add-on B are supported, but to reach that stage I need a complete restore.
After some more testing, it rather appears to be a client issue. I tested it on my local machine with Version 5 native DB's, it works fine. If I try the same with Version 4 SP2 or SP3, the error message comes up.
Sorry I don;t have time to search for it right now, But Rashed found out then in the later versions of NAV you can now do this. Search mibuso for posts by ara3n (there will be a lot of them) and datapercompany
David Singleton0 -
David Singleton wrote:Sorry I don;t have time to search for it right now, But Rashed found out then in the later versions of NAV you can now do this. Search mibuso for posts by ara3n (there will be a lot of them
) and datapercompany
but no topic that deals with this specific problem.
Apparently it does work with Version 5 SP1 if not only the entries but the common-to-all-companies tables are deleted as well (at least a member of msdynamics.de ( I posted the same problem there too) was successful in trying).
I managed to complete the restore (after table deletion) with a native 4 SP3, but the same .fbk backup still does not restore into the SQL 4 SP2 database. Same error as above.
I will make a .fbk backup from this native DB and try to restore all 4 companies into an empty SQL Database in one go. If that still doesn't work, I suppose only a technical upgrade can help ( I hope so...)
Kai Kowalewski0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions