Collation on Navision 4.0 SP3 with SQL 2005

kjboloe
Member Posts: 56
Hi
I have a problem, when I try to enable the MaintainSIFTIndex for the "Cust. Ledger Entry" I get the following error :
Error 468, Cannot resolve the collation between "Danish_Norwegian_CI_AS" and "Danish_Norwegian_CI_AI" in the equal to operation.
I hope that someone can explain why this error occurs. ](*,)
I Have tried to create an eviroment at the office, but when I check the Collation, I have the same for all tables/fields.
Kind regards
Kenneth J. Bolø
I have a problem, when I try to enable the MaintainSIFTIndex for the "Cust. Ledger Entry" I get the following error :
Error 468, Cannot resolve the collation between "Danish_Norwegian_CI_AS" and "Danish_Norwegian_CI_AI" in the equal to operation.
I hope that someone can explain why this error occurs. ](*,)
I Have tried to create an eviroment at the office, but when I check the Collation, I have the same for all tables/fields.
Kind regards
Kenneth J. Bolø
Kind regards
Kenneth Jarlshøi Bolø
Dynateam A/S
Kenneth Jarlshøi Bolø
Dynateam A/S
0
Comments
-
We have now tried to make a copy of the table 'Cust. Ledger Entry' in the 50000 area. First we tried to enable the MaintainSIFTIndex without data, no problem. Then we copied all the records and tried again, no problem.
So I think that we have to do the following :
1) Take a backup of the database.
2) Export the table 'Cust. Ledger Entry' as a fob file.
3) Copy all the records to out backup table.
4) Delete the 'Cust. Ledger Entry'.
5) Import the fob file with the 'Cust. Ledger Entry'.
6) Enable the MaintainSIFTIndex.
7) Copy the data back to 'Cust. Ledger Entry'.
If this fails we have to delete the database and recreate it and restore the database again, do we have to sync. the users after the restore ?
Kind regards
Kenneth J. BoløKind regards
Kenneth Jarlshøi Bolø
Dynateam A/S0 -
Hi,
Make an SQL backup - much faster to do and to restore, and after restore you won't need user accounts synchronization.
Before applying described procedure try to disable all indexes with SIFT fields, or just remove SIFT fields from them, save T21, and redesing it again enabling indexes or restoring SIFT fields one by one, enabling MaintainSIFTIndex
Hope this helps a bit.
Regards,
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
From what i can see, it looks like somebody changed the collation of custl. ledger entry table. Just the table on sql directly.0
-
Yes, Ara3n is right. It looks like somebody changed the collation and the database is not consistent now.0
-
[Topic moved from Navision to SQL General forum]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