Error message CacheAllData

Stimulsoft Reports.NET discussion
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Error message CacheAllData

Post by Jennypi »

Hi,

After upgrading to the latest prerelease build (22/01), a report of my collection is not working anymore.
When rendering, after choosing the parameter in the user form, it give a message:
Parent Data Source 'Sowing' is not located in DataSet and can't be used in relation 'Name'! You can use property CacheAllData of report to cache this Data Source to one DataSet.
Strange because it was working before...
So I tried to set the report CacheAllData property to true, but I am still getting the message.

I'm joining the report, let me know if you need me to modify it so you can use data example.

Thank you!
Attachments
_Sowing - COMPLETE LIST.mrt
(234.16 KiB) Downloaded 339 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error message CacheAllData

Post by HighAley »

Hello.

Please, set the Engine Version to EngineV2.
There is no CacheAllData property in our old engine.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Error message CacheAllData

Post by Jennypi »

Hi,

Thanks but it's already set to Engine V2.
Sans titre.png
Sans titre.png (8.29 KiB) Viewed 3247 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error message CacheAllData

Post by HighAley »

Hello.

Than we need sample data for your report template that will help us to reproduce the issue.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Error message CacheAllData

Post by Jennypi »

Hi

Unfortunately, I cannot reproduce the issue with csv sample data...
What can we do?
Is SKype an option so I can share my screen with you?
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Error message CacheAllData

Post by Jennypi »

Here is the stacktrace of the exception:
at Stimulsoft.Report.Dictionary.StiDictionary.RegRelation(StiDataRelation relation, Boolean virtualSources)
at Stimulsoft.Report.Dictionary.StiDictionary.RegRelations(Boolean virtualSources)
at Stimulsoft.Report.Dictionary.StiDictionary.Connect(Boolean loadData)
at Stimulsoft.Report.Engine.StiRenderProviderV2.ConnectToData(StiReport report)
at Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state)
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Stimulsoft.Report.Design.Controls.StiDesignerPreviewControl.btRefresh_Click(Object sender, EventArgs e)
I found this topic, talking about the same message. Is it the same issue?
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Error message CacheAllData

Post by Jennypi »

Last thing I wanted to add: all my datasources are part of the same connection. Why does it say that "Sowing" datasource is not part of a dataset??
Sans titre.png
Sans titre.png (4.59 KiB) Viewed 3243 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Error message CacheAllData

Post by Alex K. »

Hello,

We reproduce the issue. In this case, for Sowing data source is setted the ConnectOnStart option to false.
We need some additional time for check the issue.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Error message CacheAllData

Post by Jennypi »

I'm really glad you can reproduce it! Let me know when you have found the problem.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Error message CacheAllData

Post by Alex K. »

Hello,

Ok. We will let you know about the result in this topic.

Thank you.
Post Reply