mibuso.com

Microsoft Business Solutions online community
It is currently Thu Jun 20, 2013 1:53 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Nov 08, 2011 4:42 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Mon Nov 01, 2004 5:30 pm
Posts: 502
Location: Warnsveld
Country: Netherlands (nl)
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)

_________________
Luc van Vugt, fluxxus.nl
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community


Top
 Profile  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Nov 08, 2011 5:39 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12266
Location: Brno
Country: Czech Republic (cz)
Best is to export as txt and import it back. Than you can be sure that all is recreated as it should be...

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Nov 08, 2011 5:44 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Mon Nov 01, 2004 5:30 pm
Posts: 502
Location: Warnsveld
Country: Netherlands (nl)
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.

_________________
Luc van Vugt, fluxxus.nl
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community


Top
 Profile  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Nov 08, 2011 5:59 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12266
Location: Brno
Country: Czech Republic (cz)
Have you same build of NST and the Classic client and RTC? Have you tried to recompile all?

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Nov 08, 2011 6:04 pm 
Online

Joined: Mon Sep 08, 2008 10:25 am
Posts: 499
Location: Switzerland
Country: Switzerland (ch)
Have you tried to restart NST?

_________________
My Blog


Top
 Profile  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Nov 08, 2011 7:04 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Mon Nov 01, 2004 5:30 pm
Posts: 502
Location: Warnsveld
Country: Netherlands (nl)
kine wrote:
Have you same build of NST and the Classic client and RTC?

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 tried to recompile all?

Yes, no succes
deV.ch wrote:
Have you tried to restart NST?

Yep, various times. No success either.

_________________
Luc van Vugt, fluxxus.nl
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community


Top
 Profile  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Thu Mar 01, 2012 11:49 am 
Offline

Joined: Tue Apr 28, 2009 7:45 am
Posts: 134
Location: India
Country: India (in)
lvanvugt wrote:
kine wrote:
Have you same build of NST and the Classic client and RTC?

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 tried to recompile all?

Yes, no succes
deV.ch wrote:
Have you tried to restart NST?

Yep, various times. No success either.

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.

"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***


Top
 Profile E-mail  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Thu Mar 01, 2012 1:01 pm 
Offline

Joined: Tue Apr 28, 2009 7:45 am
Posts: 134
Location: India
Country: India (in)
Anyone guess what can be done to run those objects which shows the above error :?:

_________________
With warm regards,

Thankesh

***Learn to lead***


Top
 Profile E-mail  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Mar 06, 2012 4:40 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12266
Location: Brno
Country: Czech Republic (cz)
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.?

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Mar 06, 2012 5:26 pm 
Offline

Joined: Thu Jan 29, 2009 5:06 pm
Posts: 359
Location: Sofia
Country: Bulgaria (bg)
have you tried to delete the record for this object in "Object Metadata" table and recompile it again?

_________________
-Mihail- [MCTS]


Top
 Profile E-mail  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Mar 06, 2012 5:49 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12266
Location: Brno
Country: Czech Republic (cz)
But do not forget to not delete metadata for virtual tables. Or you need to use the workaround to compile them...

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Mar 06, 2012 5:51 pm 
Online

Joined: Mon Sep 08, 2008 10:25 am
Posts: 499
Location: Switzerland
Country: Switzerland (ch)
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!)

_________________
My Blog


Top
 Profile  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Mar 06, 2012 5:57 pm 
Offline

Joined: Thu Jan 29, 2009 5:06 pm
Posts: 359
Location: Sofia
Country: Bulgaria (bg)
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]


Last edited by mihail_kolev on Tue Mar 06, 2012 6:02 pm, edited 1 time in total.

Top
 Profile E-mail  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Tue Mar 06, 2012 6:02 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12266
Location: Brno
Country: Czech Republic (cz)
Or disable and than reenamble the Dynamics NAV Server support in Database-Alter... ;-)

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Parser Error on (report on) NAV 2009 R2
PostPosted: Wed Mar 07, 2012 8:37 am 
Online

Joined: Mon Sep 08, 2008 10:25 am
Posts: 499
Location: Switzerland
Country: Switzerland (ch)
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 ;)

_________________
My Blog


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: deV.ch and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: