Hello,
i hope you can help me on this one. I am doing a backup of a 3.70 database (native) and restore it in a NAV2009 R2 database (SQL). This happens when i only do a restore with objects, no data... :shock:
Microsoft Dynamics NAV Classic
The C/AL object was not saved in compiled form. Compile it from the Object Designer and run it again.
Parser error.
Parser error.
Parser error.
Parser error.
OK
0
Comments
Could you check the date on some on your objects?
I have seen blank dates on objects cause the strangest errors.
Also if you are only doing the objects, why are you using the backup functionality?
It is better to use the import and export functionality for this.
Hope this helps,
Willy
Edit: I want to do a full backup including data, but i narrowed down the problem to the objects
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
@kine: I don´t think the code has been protected, do you know how i could identify this?
I played arround with my backup a bit and i was able to import all the objects to an empty database, but i still was not able to restore it only with application objects. Then i tried to restore it with a 3.70, this works, then i opened it with my NAV2009R2 client and converted the database. But after that i was not able to open the database any more, because of the following error:
Microsoft Dynamics NAV Classic
The file DCMEMSTREAM contains a record that cannot be read completely.
OK
This is getting very strange....
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I didn't try with higher version.
I've noticed that a SourceTable of a form was missing (deleted unfortunately ).
Go to object designer, select All objects and then Ctrl-A to select them all.
Then press F11 to compile all objects. At the end you will have a list of objects that wont compile, identify why they wont compile. Most will be because of missing DLLs, outlook excel etc. Try opening the ones that won't compile and compile them manually to see what the issue is.
Sir DLLs missing database backup can be restored without giving any error message.
Please read the WHOLE post, not one sentence at random. :roll:
Do not forget that NAV 2009 is recompiling the objects into c# assembly automatically, NAV 5 is not doing that....
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
you won´t believe it 8) I was able to restore my backup with a SP1 version of NAV2009 and then open the database with my R2 client and convert it...my case at MS is still open, lets see what they say...
Nevertheless, this might be a helpfull information for all the others which also encounter this error \:D/