mibuso.com

Microsoft Business Solutions online community
It is currently Wed May 22, 2013 10:54 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Unexplainable RTC Report Message
PostPosted: Fri May 04, 2012 7:33 pm 
Offline

Joined: Wed Sep 07, 2005 12:28 am
Posts: 169
Location: Southern California
I am creating a VS layout for a customized check.
The check runs in Classic.
When run in RTC it crashes the client every time.
The only error message that can be found is in "About this page" in the Check Request Page, attached.
It refers to "DataItem6TableView". There is no "DataItem6".
The 6th data item is the Integer table, which does have a TableView set.

How can this be handled? ](*,)


Attachments:
CheckPage.png
CheckPage.png [ 16.33 KiB | Viewed 941 times ]

_________________
Dave Cintron
Dynamics West
http://www.dynamicswest.com
Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Sun May 06, 2012 12:19 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
It looks like soeone changed the report sections for classic NAV and the RDLC layout was not changed. Check that.

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


Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Mon May 07, 2012 6:43 pm 
Offline

Joined: Wed Sep 07, 2005 12:28 am
Posts: 169
Location: Southern California
- I removed EVERY FIELD from the RDLC layout and it still gives the error.
- The error comes before the report is even run.
- Searching the text export of the report shows only the one dimensional dataset.
- I even deleted the metadata and it still comes back with the error after recompile.

This must be a Microsoft bug.

_________________
Dave Cintron
Dynamics West
http://www.dynamicswest.com


Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Mon May 07, 2012 8:59 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Fri Jun 11, 2004 9:05 pm
Posts: 4858
Location: Los Angeles, CA
Country: United States (us)
Use the standard 3 part check and do your customization on the standard report. Forget trying to upgrade reports.

_________________
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work


Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Mon May 07, 2012 9:05 pm 
Offline

Joined: Wed Sep 07, 2005 12:28 am
Posts: 169
Location: Southern California
Certainly we could rewrite everything. However, I was hoping this would be a learning experience. We have overcome nearly every unanticipated change, undocumented feature, and unexpected problem with RTC report writing. This one makes no sense as the error refers to a variable tag that does not occur in the report. Either it's yet another undocumented message or another obnoxious bug.

_________________
Dave Cintron
Dynamics West
http://www.dynamicswest.com


Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Mon May 07, 2012 9:08 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Tue Jul 19, 2005 4:49 pm
Posts: 3837
Location: Olst
Country: Netherlands (nl)
Have you tried bulding the report in VS? This should show the error to. Usually you can double click on the error and it shows where the error is.

Have you looked at the code in the VS part of the report? Maybe the code still uses it.

Do you know where to find the code?

_________________
Mark Brummel | Freelance Dynamics NAV (Navision) Developer
Author of the book : Microsoft Dynamics NAV 2009 Application Design

MY BLOG : http://www.brummelds.com


Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Mon May 07, 2012 10:40 pm 
Offline

Joined: Wed Sep 07, 2005 12:28 am
Posts: 169
Location: Southern California
It is building the report in VS that leads to this error. The only code I am aware of is in "Report Properties" and is the standard "BlankIfZero", etc. Is there code somewhere else?

Also, I'm not sure what you mean about double clicking on the error. If you run the report the RTC client crashes. You can only see the message from the request page. Double clicking there has no effect. Checking the Event Log gives a stack trace whose verbose nature serves to only overwhelm me with useless information that refers to an anonymous value, "SourceExpression".


Service: MicrosoftDynamicsNavServer
Type: System.ArgumentNullException
Message:
Value cannot be null.
Parameter name: SourceExpression
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(Object obj, String methodName, Object[] args)
at Microsoft.Dynamics.Nav.Service.NSField.ActionField(NavConnection con)
at Microsoft.Dynamics.Nav.Service.NSField.Action(NavConnection connection)
at Microsoft.Dynamics.Nav.Service.NSService.<>c__DisplayClass1f.<ActionField>b__1e(Connection connection)
at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
Source: Microsoft.Dynamics.Nav.Ncl
----------------------------------
Type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
StackTrace:
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(Object obj, String methodName, Object[] args)
Source: mscorlib
----------------------------------
Type: System.ArgumentNullException
Message:
Value cannot be null.
Parameter name: SourceExpression
ParamName: SourceExpression
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavReport.ExecuteReportDataItem()
at Microsoft.Dynamics.Nav.Runtime.NavReport.LoopChildDataItems(NavReportDataItem dataItem)
at Microsoft.Dynamics.Nav.Runtime.NavReport.ExecuteReportLoop(NavReportDataItem dataItem)
at Microsoft.Dynamics.Nav.Runtime.NavReport.LoopChildDataItems(NavReportDataItem dataItem)
at Microsoft.Dynamics.Nav.Runtime.NavReport.ExecuteReportLoop(NavReportDataItem dataItem)
at Microsoft.Dynamics.Nav.Runtime.NavReport.LoopRootDataItems()
at Microsoft.Dynamics.Nav.Runtime.NavReport.ExecuteReport(Boolean displayResult)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReportInternal(NavRecord record, Boolean displayResult)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReport(Nullable`1 requestWindow, Nullable`1 systemPrinter, Boolean runReportModal, NavRecord record, IList`1 reportTextualFilters)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReport(Int32 reportId, Nullable`1 requestWindow, Nullable`1 systemPrinter, Boolean isRunningAsModal, NavRecord record, IList`1 textualFilters)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunModal(Int32 reportId, Boolean requestWindow, Boolean systemPrinter, NavRecord record)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit229.PrintCheck(INavRecordHandle newGenJnlLine)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit229.OnInvoke(Int32 memberId, Object[] args)

_________________
Dave Cintron
Dynamics West
http://www.dynamicswest.com


Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Mon May 07, 2012 11:17 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Fri Jun 11, 2004 9:05 pm
Posts: 4858
Location: Los Angeles, CA
Country: United States (us)
Dave Cintron wrote:
Certainly we could rewrite everything. However, I was hoping this would be a learning experience. We have overcome nearly every unanticipated change, undocumented feature, and unexpected problem with RTC report writing. This one makes no sense as the error refers to a variable tag that does not occur in the report. Either it's yet another undocumented message or another obnoxious bug.


I've been down this road and I wish you good luck with that. :(

Everyone thinks tools for classic report upgrade to RTC report is essential. Based on my experience in upgrading, I strongly disagree.

_________________
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work


Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Tue May 08, 2012 7:29 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
Some errors like that are because you are using different build of classic and RTC. Check that.

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


Top
 Profile E-mail WWW  
 
 Post subject: Re: Unexplainable RTC Report Message
PostPosted: Tue May 08, 2012 9:34 pm 
Offline
Microsoft employee

Joined: Mon Oct 22, 2007 1:42 pm
Posts: 8
Location: DK
Country: Denmark (dk)
Hi Dave
DataItem6TableView refers to the filter control for the 7th dataitem on the request page. It is used to maintain the table view of that particular dataitem in relation to values typed in on the request page.

It is an internal construct which is defined in the internal code generated C# and metadata.
Kamil could be right in that it is not the same version of finsql, service and RTC that is used.

If that is not the case, you are welcome to send the object to me and I will have a look and see if it is a bug in compiler or in object.

Best regards,
Torben

_________________
“This posting is provided "AS IS" with no warranties, and confers no rights.”


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot], MaierM and 10 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: