Restore Problem

Hanney
Member Posts: 41
i try to restore db, after finish restore i get pop up message,
'The item table contains a value in a Code field that cannot be used with
Microsoft Dynamic Nav
Field: Search Description
Value: HP C4911A INK cartridge a cyan'
Can anyone tell me why? HP is my printer and i didn't on my printer
'The item table contains a value in a Code field that cannot be used with
Microsoft Dynamic Nav
Field: Search Description
Value: HP C4911A INK cartridge a cyan'
Can anyone tell me why? HP is my printer and i didn't on my printer
0
Comments
-
do you restore a native backup to a native server or into a sql server?
if sql server, which collection do you use?
if sql server, have you run the Migrate.fob? This fob is on upgrade-toolkit and it's check/fix incorrect values in your native database.
So, if sql, read also the w1w1upgr.pdf before.
So, when you made a native backup (fbk), the file is written in the code page of the "making backup" computer (OEM).
When you retore it, if the OEM code page is different, you will get errors such as this.
So, check the regional settings, if on both machines it's the same.
RegardsDo you make it right, it works too!0 -
Looks to me like you're using SQL Server queries to populate NAV tables directly in SQL Server. The Search Description field is of type Code, which means that NAV is expecting all values to be upper case. On SQL Server it is implemented as a VARCHAR type field, which can hold lower case. For SQL Server that value is valid, but for NAV it is not. Populating those values directly in SQL Server doesn't trigger the automatic conversion into upper case letters, so you need to take care of that yourself.
You will need to fix that in the source database first, and then take another backup. It might also work by taking a SQL Server backup, restore that into a new database, and then fix it in the new database. Still, that would mean you'd have to fix it in the source database anyway. If it were me I'd want to fix it just once.0
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