Unable to trace down an ReportException that is thrown...


10-16-2002, 12:00 AM
Originally Posted By: Rob Wilson<rwilson@edupoint.com>

I have a report (xml rpx based in AR 2.0) developed in AR 2.0 Pro that has
64 sub reports (it works just fine in AR 2.0). When I attempt to run the
report with AR.Net I get the following exception:


[ReportException: Report Script Compile Error on line 2 Error = ; expected
Report Script Compile Error on line 4 Error = ; expected
]
-f.-10.-2d()
-f.-10.-2f(String methodName, Object[] parameters, Boolean& bSuccess)
-f.-10.-f3(String methodName, Object[] parameters)
-f.-10.-1e(String methodName)
DataDynamics.ActiveReports.ActiveReport.-bac()
DataDynamics.ActiveReports.ActiveReport.-ef(Boolean bDelayedInit)
DataDynamics.ActiveReports.ActiveReport.Run(Boolean SyncDocument)
DataDynamics.ActiveReports.ActiveReport.Run()
Revelation.RevActiveReport.GetPDF(Boolean removeSchoolBreakFlag) in
c:\inetpub\wwwroot\revelation\runreport.aspx.cs:152

How do I find out which of the 64 sub reports are causing the throw??? Is
there a meaning behind the locals named "-f", -10", etc?

Thanks,

Rob


Re: Unable to trace down an ReportException that is thrown...


10-16-2002, 12:00 AM
Originally Posted By: Scott - DD<activereports.support@datadynamics.com>

The locals named -f and -10 are internal methods that would not provide you
any assistance. However, the problem is in a script of one of your reports.
I'm assuming that not all of your 64 subreports have scripts, so that should
narrow down your hunt.
However, to find out which has the problem just call the Run method of each
report in your application and see which fail with the same error message.
Then you'll know which of the subreports script's is missing the mentioned
semicolon.

Scott
Data Dynamics


"Rob Wilson" wrote in message
news:1E3IXHUdCHA.1340@dynaweb.datadynamics.com...
> I have a report (xml rpx based in AR 2.0) developed in AR 2.0 Pro that has
> 64 sub reports (it works just fine in AR 2.0). When I attempt to run the
> report with AR.Net I get the following exception:
>
>
> [ReportException: Report Script Compile Error on line 2 Error = ; expected
> Report Script Compile Error on line 4 Error = ; expected
> ]
> -f.-10.-2d()
> -f.-10.-2f(String methodName, Object[] parameters, Boolean& bSuccess)
> -f.-10.-f3(String methodName, Object[] parameters)
> -f.-10.-1e(String methodName)
> DataDynamics.ActiveReports.ActiveReport.-bac()
> DataDynamics.ActiveReports.ActiveReport.-ef(Boolean bDelayedInit)
> DataDynamics.ActiveReports.ActiveReport.Run(Boolean SyncDocument)
> DataDynamics.ActiveReports.ActiveReport.Run()
> Revelation.RevActiveReport.GetPDF(Boolean removeSchoolBreakFlag) in
> c:\inetpub\wwwroot\revelation\runreport.aspx.cs:152
>
> How do I find out which of the 64 sub reports are causing the throw??? Is
> there a meaning behind the locals named "-f", -10", etc?
>
> Thanks,
>
> Rob
>
>


Re: Unable to trace down an ReportException that is thrown...


10-16-2002, 12:00 AM
Originally Posted By: Rob Wilson<rwilson@edupoint.com>

After following your advice I found a few of my reports have