Designer fx - data from cross-tab exception

Stimulsoft Reports.WEB discussion
Post Reply
beotic
Posts: 11
Joined: Thu Nov 12, 2015 2:56 pm

Designer fx - data from cross-tab exception

Post by beotic »

Hi,

When il create a ross table from business objects and i try to create a data from cross-tab when i try preview an exception occured :
[NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.]
Stimulsoft.Report.Dictionary.StiCrossTabDataSource.ConnectToData(DataTable crossDataTable, StiCrossTab crossT) +851
Stimulsoft.Report.Dictionary.StiDictionary.ConnectCrossTabDataSources(StiCrossTabDataSource masterDataSource) +327
Stimulsoft.Report.Dictionary.StiDictionary.ConnectCrossTabDataSources() +182
Stimulsoft.Report.Engine.StiRenderProviderV2.ConnectToData(StiReport report) +451
Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state) +5707
Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState) +847
Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState) +2636
Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode) +953
Stimulsoft.Report.StiReport.Render(Boolean showProgress) +53
Stimulsoft.Report.Web.StiReportClass.GetReportSnapshot(StiReport report, String stringData, Boolean isPrepared) +922
Stimulsoft.Report.Web.StiWebDesigner.OnInit(EventArgs e) +1641
System.Web.UI.Control.InitRecursive(Control namingContainer) +140
System.Web.UI.Control.InitRecursive(Control namingContainer) +311
System.Web.UI.Control.InitRecursive(Control namingContainer) +311
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480


is-it possible to create a data from other datasource business objects or from a cross-tab which is defined with business objects?

Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Designer fx - data from cross-tab exception

Post by HighAley »

Hello.

Please, send us your report template with sample data for analysis.

Thank you.
beotic
Posts: 11
Joined: Thu Nov 12, 2015 2:56 pm

Re: Designer fx - data from cross-tab exception

Post by beotic »

I join an asp project. Put the file datasource.mrt in C:, or modify the Impression.aspx code.
Call the page http://localhost/StimulsoftSupport20151 ... ssion.aspx
In the template, i create a data from an other datasource in ordre to create a data with the groupName and the count of line by group.
In the first data band the projects are listed
In the second data band the data from other datasource is listed but nothing is displayed...
Can you help me?

PS : I try it with 2013.3 and 2015.2 version.

Thanks in advance
Attachments
StimulsoftSupport20151113.zip
(1.21 MiB) Downloaded 207 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Designer fx - data from cross-tab exception

Post by HighAley »

Hello.

Unfortunately, it's impossible to create Data source from Business objects.
You could try to register your business objects with RegData() method.

Thank you.
Post Reply