Parser Error on (report on) NAV 2009 R2
lvanvugt
Member Posts: 774
Have any come across this error? If so do you a workaround?
The C/AL object was not saved in compiled form. Compile it from the Object Designer and run it again.
Parser error.
Facts
a. I have a report object build on NAV 2009 SP1 (build 32029), export it (in .fob format) and import into NAV 2009 R2 (build 32752).
b. I can run report on classic client
c. Running report on RTC I get the following error:
Metadata for object of type Report with id 5092724 is in a failed state. This is caused by a previous exception:
Object of type Report with id 5092724 could not be found.
d. Now trying to recompile the report (ID = 5092724) gives the first mentioned error.
Notes
i. I can bring report into design mode
ii. Trying to compile in design mode gives same error, but no indication to where the error is due to (for examlple stopping at an erroneous statement)
The C/AL object was not saved in compiled form. Compile it from the Object Designer and run it again.
Parser error.
Facts
a. I have a report object build on NAV 2009 SP1 (build 32029), export it (in .fob format) and import into NAV 2009 R2 (build 32752).
b. I can run report on classic client
c. Running report on RTC I get the following error:
Metadata for object of type Report with id 5092724 is in a failed state. This is caused by a previous exception:
Object of type Report with id 5092724 could not be found.
d. Now trying to recompile the report (ID = 5092724) gives the first mentioned error.
Notes
i. I can bring report into design mode
ii. Trying to compile in design mode gives same error, but no indication to where the error is due to (for examlple stopping at an erroneous statement)
0
Comments
-
Best is to export as txt and import it back. Than you can be sure that all is recreated as it should be...0
-
kine wrote:Best is to export as txt and import it back. Than you can be sure that all is recreated as it should be...
Hi Kamil, fogotten to mention in my notes: same result.0 -
Have you same build of NST and the Classic client and RTC? Have you tried to recompile all?0
-
Well, no (due to an imcomplete reinstall today), so thanx, but to no avail. BTW: the first error is on CSIDE (independent of NST).kine wrote:Have you same build of NST and the Classic client and RTC?
Yes, no succeskine wrote:Have you tried to recompile all?
Yep, various times. No success either.deV.ch wrote:Have you tried to restart NST?0 -
I have upgraded from NAV 4 SP3 to NAV 2009 R2. I have compiled all the objects from object designer. But, still I am unable to run few objects. It is showing the error as follows.lvanvugt wrote:
Well, no (due to an imcomplete reinstall today), so thanx, but to no avail. BTW: the first error is on CSIDE (independent of NST).kine wrote:Have you same build of NST and the Classic client and RTC?
Yes, no succeskine wrote:Have you tried to recompile all?
Yep, various times. No success either.deV.ch wrote:Have you tried to restart NST?
"The C/AL" object was not saved in compiled form. Compile it from the Object Designer and run it again."
Any idea
:?: ](*,)With warm regards,
Thankesh
***Learn to lead***0 -
Anyone guess what can be done to run those objects which shows the above error :?:With warm regards,
Thankesh
***Learn to lead***0 -
And are you sure that there are no objects which have compiled=no e.g. because they were not compiled because you do not have some libraries installed etc.?0
-
have you tried to delete the record for this object in "Object Metadata" table and recompile it again?-Mihail- [MCTS]0
-
But do not forget to not delete metadata for virtual tables. Or you need to use the workaround to compile them...0
-
deV.ch wrote:If you accidently removed metadata for a object you can't compile you can copy the metadata record from another DB. (be sure to use a DB with same build to ensure consistency!)
edited... misunderstood it-Mihail- [MCTS]0 -
Or disable and than reenamble the Dynamics NAV Server support in Database-Alter... ;-)0
-
Yeah but thats kinda time consuming

And i used that trick for other situations anyway (like when you can't compile a object in the current environment => components missing)
But i just wanted to throw it in, as i was pritty surprised that you can simply copy a row from object metadata to another table... so i thought i share it
0 -
deV.ch wrote:Yeah but thats kinda time consuming

And i used that trick for other situations anyway (like when you can't compile a object in the current environment => components missing)
But i just wanted to throw it in, as i was pritty surprised that you can simply copy a row from object metadata to another table... so i thought i share it
Nice trick!!0
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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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
