Hi
While restoring a fbk (backed up from a Navision 3.7) on sql server 2005 I get the ffw error:
"The Gen. Journal Line table contains a value in a Code field that cannot be used with Microsoft Business Solutions-Navision: Field External Document No., Value I-104.427.250ã."
Please note: This behavior is reproducable and the last digit of the original value entered in the field was "§" (paragraph sign). In the error message it is shown as "ã" (a with tilde).
The restore operation is stopped then. However, if database properties are changed (database,alter) collation: validate code page=no, the restore is successful. The last sign of the restored value is shown then as "ã" (a with tilde).
This is quite strange, especially backup and restore were made on exactly the same machine. ](*,)
Any ideas?
Thomas
0
Comments
2) Which collation you are using on the MS SQL for your DB?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks for your answer.
In regional and language settings there are different code page conversion tables. I'll check a few other things and will hopefully post the solution here.
Regards
Thomas
What I did:
* Backup on a german system * Restore on sql on a english system. This caused the error mentioned above. * So I made the restore on the english system, but native. This worked, but the characters were converted (§ to ã), but I didnt notice that. * Backup the restored database again to see whether this can be restored now * Restore on sql on the english system did not work, although the backup was made on the same system. Same error as before, the ã was not valid
The solution:
Backup and restore should be performed on the same system. The problem was, I had no connection to the original db from the english system, this means I had only the backup with me..
It seems to work now
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
The reason they are on different db is because navision did not allow double byte characters.
Navisino recently released docs that you can simply change fin.stx and you can use double byte characters.
I downloaded the fin.stx files and restored the db. I can see the data all scrambled, after changing to codepage to Chinese was I able to see the chinese characters.
So in order to combine the db, the citrix box has to change the codepage to chinese, but what collation should I use? I tried binary, but still get error if the chinese characters are part of a key.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
We have several customer abroad, all using SQL2000. In our central database we have copies of theirs.
One of them in Turkey. They have Turkish collation.
They made a backup (.fbk). We won't to restore it, but get the same error as Thomas.
If I try to Alter the Collation of the database on the server (I can choose Turkish out of the drop down box), it won't change it.
Could this be because the client does not have the code page installed?
Maarten
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
1) Backup and restore must be done on PC with same codepage.
2) Backup and restore must use DB with same SQL collation
additional point:
3) PC codepage and SQL collation codepage is same
if these two things are OK, you will not have this problem.
If something is set in another way, you can have wrong result (restore was finished, but you see incorrect characters in NAV etc.)
Point 3 is there to precede problems with cross-translated characters...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
It's very clear.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!