Page 1 of 3

Error message CacheAllData

Posted: Wed Feb 03, 2016 8:59 am
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!

Re: Error message CacheAllData

Posted: Wed Feb 03, 2016 9:48 am
by HighAley
Hello.

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

Thank you.

Re: Error message CacheAllData

Posted: Wed Feb 03, 2016 9:53 am
by Jennypi
Hi,

Thanks but it's already set to Engine V2.
Sans titre.png
Sans titre.png (8.29 KiB) Viewed 3248 times

Re: Error message CacheAllData

Posted: Wed Feb 03, 2016 12:12 pm
by HighAley
Hello.

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

Thank you.

Re: Error message CacheAllData

Posted: Wed Feb 03, 2016 2:03 pm
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?

Re: Error message CacheAllData

Posted: Wed Feb 03, 2016 2:17 pm
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?

Re: Error message CacheAllData

Posted: Wed Feb 03, 2016 2:22 pm
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 3244 times

Re: Error message CacheAllData

Posted: Thu Feb 04, 2016 7:10 am
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.

Re: Error message CacheAllData

Posted: Thu Feb 04, 2016 8:23 am
by Jennypi
I'm really glad you can reproduce it! Let me know when you have found the problem.

Thank you.

Re: Error message CacheAllData

Posted: Thu Feb 04, 2016 12:18 pm
by Alex K.
Hello,

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

Thank you.