Date and Field Length errors while restoring to SQL
bramdedaele
Member Posts: 16
After having searched the internet as thouroughly as I can, I'm asking your help about the following problem:
When restoring a native DB to SQL, I get 2 kinds of errors, which state the following:
1.
2. I also get a bunch of errors concerning invalid dates; eg '01/01/0073',...
The problem is that the restore stops when finding an error. I have to correct the data, take a new backup and restore again. Pretty annoying :-).
Anyone has a solution/tool for this?
Thx!
Bram.
When restoring a native DB to SQL, I get 2 kinds of errors, which state the following:
1.
The EXAMPLE table contains a field with a Code or Text value that is too large for the SQL Server Data Type...
2. I also get a bunch of errors concerning invalid dates; eg '01/01/0073',...
The problem is that the restore stops when finding an error. I have to correct the data, take a new backup and restore again. Pretty annoying :-).
Anyone has a solution/tool for this?
Thx!
Bram.
Dynamics NAV Consultant
0
Answers
-
1) Follow the upgrade documentation for correct steps to migrate Native to SQL
2) Part of the upgrade toolkit are the migration objects, which will check all date fields and will correct them in your DB before you create the backup.
3) How long you have the fields in your Native DB? (the problematic fields)0 -
Thx kine.
1. I'm following these.
2. I found the tool (=fob), thx for the tip.
3. This was a specific error, the restore tried to put a field of 25 chrs in a SQL VARCHAR(20), which will obviously never work...
(thread can be closed)Dynamics NAV Consultant0 -
bramdedaele wrote:(thread can be closed)
This is on you- you need to edit the Subject of the first post and add the [SOLVED] prefix in it... 8)0 -
kine wrote:bramdedaele wrote:(thread can be closed)
This is on you- you need to edit the Subject of the first post and add the [SOLVED] prefix in it... 8)
First timer :-), thx again :-)Dynamics NAV Consultant0 -
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
