SQL Errors upgrading from Nav370 to Nav4 SP1

jorgito
Member Posts: 115
Hello,
We are trying to upgrade a customer’s database from version 3.70 to 4.00 SP1 using the SQL Server option.
The steps until now were the following:
1. At some earlier point, we copied the client’s database (v.3.70) from the client’s site to our location. The database contained the client’s functionality (base 3.70 + customizations) and some early customer data.
2. We created a Cronus 4.00 SP1 database.
3. We merged the client’s customizations with the 4.00 SP1 functionality and imported the result in the Cronus database. So, we ended up with a Cronus database that contained the 4.00 SP1 functionality, along with the client’s customizations. We exported all the objects in a fob file.
4. We opened the original client’s database using Navision 4.00 SP1 and converted the database into 4.00 SP1.
5. We imported the Upgrade Toolkit, transferred the data and deleted all the objects except the tables.
6. We imported the previous fob, chose Replace All and clicked on OK.
7. The import stopped with an error. The error is an SQL Server error, mentioning that There is already an object named “[Company Name]$32$7” in the database. Etc.
8. We copied a more recent database from the client’s site and did the same thing. This time we got an SQL error mentioning that There was an error accessing the Item Ledger Entry table: Invalid column name s14.
Software: Windows SBS 2003, SQL Server 2000, Navision GR 370 and GR 4 SP1.
Is the procedure we are following correct? How can we overcome these problems?
Thanx a lot
Jorgito
We are trying to upgrade a customer’s database from version 3.70 to 4.00 SP1 using the SQL Server option.
The steps until now were the following:
1. At some earlier point, we copied the client’s database (v.3.70) from the client’s site to our location. The database contained the client’s functionality (base 3.70 + customizations) and some early customer data.
2. We created a Cronus 4.00 SP1 database.
3. We merged the client’s customizations with the 4.00 SP1 functionality and imported the result in the Cronus database. So, we ended up with a Cronus database that contained the 4.00 SP1 functionality, along with the client’s customizations. We exported all the objects in a fob file.
4. We opened the original client’s database using Navision 4.00 SP1 and converted the database into 4.00 SP1.
5. We imported the Upgrade Toolkit, transferred the data and deleted all the objects except the tables.
6. We imported the previous fob, chose Replace All and clicked on OK.
7. The import stopped with an error. The error is an SQL Server error, mentioning that There is already an object named “[Company Name]$32$7” in the database. Etc.
8. We copied a more recent database from the client’s site and did the same thing. This time we got an SQL error mentioning that There was an error accessing the Item Ledger Entry table: Invalid column name s14.
Software: Windows SBS 2003, SQL Server 2000, Navision GR 370 and GR 4 SP1.
Is the procedure we are following correct? How can we overcome these problems?
Thanx a lot
Jorgito
0
Answers
-
We found a workaround for these errors.
Whenever they occured, we went in the table and deleted all the keys except for the primary key. Then we re-imported the fob.
We do not know why SQL Server created these problems, because if we backed up and restored the database as a native, everything worked fine.
It has to be one of these nice features SQL Server is offering. \:D/
Thanx
Jorgito0
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