Report errors - where did they go?
-
- Posts: 32
- Joined: Wed Jun 10, 2009 4:48 pm
- Location: Edmonton
Report errors - where did they go?
When I used the .Net version of SS, if there was a problem on the report, the error exception or whatever would be displayed in a window at the bottom of the preview window in the designer.
In the .Wpf version, the preview pane appears not to refresh from it's previous contents, and no error message is visible anywhere.
Is there an option to display this information somewhere? I have two reports with problems, but I'm unable to solve them as I can't figure out the specific error.
In the .Wpf version, the preview pane appears not to refresh from it's previous contents, and no error message is visible anywhere.
Is there an option to display this information somewhere? I have two reports with problems, but I'm unable to solve them as I can't figure out the specific error.
Report errors - where did they go?
Hello,
Which version of Stimulsoft Reports.Wpf do you use?
Please send us your .MRT file for analysis.
Thank you.
Which version of Stimulsoft Reports.Wpf do you use?
Please send us your .MRT file for analysis.
Thank you.
-
- Posts: 32
- Joined: Wed Jun 10, 2009 4:48 pm
- Location: Edmonton
Report errors - where did they go?
I'm using 2010.2.749 10 Aug 2010
I'm not sure how much help the reports would be, as they use a number of custom libraries, but I'll attached one here.
(I'm still also having some speed / memory issues when running our reports, but I've been unable to get any specific information so far.)
I'm not sure how much help the reports would be, as they use a number of custom libraries, but I'll attached one here.
(I'm still also having some speed / memory issues when running our reports, but I've been unable to get any specific information so far.)
- Attachments
-
- 545.ChequeContributors.mrt
- (36.08 KiB) Downloaded 343 times
-
- Posts: 32
- Joined: Wed Jun 10, 2009 4:48 pm
- Location: Edmonton
Report errors - where did they go?
I'm using 2010.2.749 10 Aug 2010
I'm not sure how much help the reports would be, as they use a number of custom libraries, but I'll attached one here.
(I'm still also having some speed / memory issues when running our reports, but I've been unable to get any specific information so far.)
I'm not sure how much help the reports would be, as they use a number of custom libraries, but I'll attached one here.
(I'm still also having some speed / memory issues when running our reports, but I've been unable to get any specific information so far.)
- Attachments
-
- 547.PayoutContributors.mrt
- (33.82 KiB) Downloaded 329 times
-
- Posts: 32
- Joined: Wed Jun 10, 2009 4:48 pm
- Location: Edmonton
Report errors - where did they go?
Whoops - attached wrong file. Here's the one.
Report errors - where did they go?
Hello,
We made some improvements in that direction about a week ago.
Please check the latest prerelease build and let us know about the result.
Thank you.
We made some improvements in that direction about a week ago.
Please check the latest prerelease build and let us know about the result.
Thank you.
-
- Posts: 32
- Joined: Wed Jun 10, 2009 4:48 pm
- Location: Edmonton
Report errors - where did they go?
I think I've figured out what the problem was:
We couldn't get the StiPropertiesProcessingType.Browsable option to work, so to prevent the report from traversing the entirety of our business objects (very slow), I converted only the required properties in to an anonymous type.
To avoid changing the report, I used nested anonymous types, ie:
which looks to have got converted in the report to
That anonymous type doesn't seem to have let the report load properly, and (as I was saying earlier), the .Wpf version didn't display any error messages, so it just gave a blank report.
I've changed things to use only 1 level of anonymous typing, and I think it's working.
We couldn't get the StiPropertiesProcessingType.Browsable option to work, so to prevent the report from traversing the entirety of our business objects (very slow), I converted only the required properties in to an anonymous type.
To avoid changing the report, I used nested anonymous types, ie:
Code: Select all
rm.RegData("RebatesInfo", rebates.Select(r => new {r.Amount, r.Type, r.Level, r.Date, Referral = (r.Referral== null) ? new {FullName="", Code = (int?)null} : new {r.Referral.FullName, r.Referral.Code}}));
Code: Select all
Amount,Pleasant.Numeric.Measures.DecimalMeasure`1[Pleasant.Numeric.Measures.Money]
Type,Avena.Data.RebateType
Level,System.Int32
Date,System.DateTimeOffset
Referral,<>f__AnonymousType2`2[System.String,System.Nullable`1[System.Int32]]
_ID,System.Int32
_Current,System.Object
I've changed things to use only 1 level of anonymous typing, and I think it's working.
Report errors - where did they go?
Hello,
Could you please send us a sample project for investigation to support@stimulsoft.com .
Thank you.
Could you please send us a sample project for investigation to support@stimulsoft.com .
Thank you.
-
- Posts: 32
- Joined: Wed Jun 10, 2009 4:48 pm
- Location: Edmonton
Report errors - where did they go?
Hi - I've sent a sample project to that email. It looks like the problem also requires setting the BusinessObject.MaxLevel property to 1 (something we have to do to prevent a slow traversal of all our objects).
Report errors - where did they go?
Hello,
Sorry we can't support anonymous types now. It required big amount of changes in our source codes abd we can't make it now.
Thank you.
Sorry we can't support anonymous types now. It required big amount of changes in our source codes abd we can't make it now.
Thank you.