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