Undefined Datasource
Posted: Fri Mar 25, 2016 2:56 pm
Hi There,
I want to create a report in Stimulsoft through C#-code, with CSV as a datasource.
This all works as expected and I am able to process the report and get output in Excel. So far so good.
The only issue I'm facing is the following:
When I save the report (that was thus created in C# code) with report.Save("Patrick.mrt") and I try to open the report file in the WPF Designer, It can not process the report and comes up with the error:
Undefined DataSource
The undefined 'PremieSpecificatie' datasource is found in the report. The reporting tool cannot correctly process such type of the datasource! Maybe custom datasources are used in the report. This report cannot be rendered!
Due to the fact that there is no datasource I'm also unable to preview the report or do anything else with it...
So next I tried to recreate the report from scratch in the Designer. I than stored the report as C# Source Code and stuffed that code into my program. The same problem arises...
So when I create a report in the Designer, save it as source code, run the source to recreate the report and call report.Save("xx") I cannot use the created xx.mrt.
Is this a known issue? Or Am i doing something wrong here?
Thx for your time in advance!
Kind regards,
Patrick
I want to create a report in Stimulsoft through C#-code, with CSV as a datasource.
This all works as expected and I am able to process the report and get output in Excel. So far so good.
The only issue I'm facing is the following:
When I save the report (that was thus created in C# code) with report.Save("Patrick.mrt") and I try to open the report file in the WPF Designer, It can not process the report and comes up with the error:
Undefined DataSource
The undefined 'PremieSpecificatie' datasource is found in the report. The reporting tool cannot correctly process such type of the datasource! Maybe custom datasources are used in the report. This report cannot be rendered!
Due to the fact that there is no datasource I'm also unable to preview the report or do anything else with it...
So next I tried to recreate the report from scratch in the Designer. I than stored the report as C# Source Code and stuffed that code into my program. The same problem arises...
So when I create a report in the Designer, save it as source code, run the source to recreate the report and call report.Save("xx") I cannot use the created xx.mrt.
Is this a known issue? Or Am i doing something wrong here?
Thx for your time in advance!
Kind regards,
Patrick