Runtime version
-
- Posts: 11
- Joined: Fri Feb 11, 2011 8:41 am
- Location: Italia
Runtime version
Hi,
in my C# project I want to upgrade de version of referenced stimulsoft suite from 2011.1 to 2012.2.
My project must build with Microfost framework 3.5 SP1.
If I change the referecence to your dlls from 2011.1 to the version 2012.2 I have a problem, the two dll "Stimulsoft.Report.WpfDesign.dll" and "Stimulsoft.Report.Wpf.dll" have the Runtime version to "v4.0.30319" and not "v2.0.50727" also other dll (for example "Stimulsoft.Report.dll" is compiled with the Runtime version "v2.0.50727").
Is possible have your two dll "Stimulsoft.Report.WpfDesign.dll" and "Stimulsoft.Report.Wpf.dll" compiled with the Runtime version "v2.0.50727"?
Thanks, Riccardo Zanardini.
in my C# project I want to upgrade de version of referenced stimulsoft suite from 2011.1 to 2012.2.
My project must build with Microfost framework 3.5 SP1.
If I change the referecence to your dlls from 2011.1 to the version 2012.2 I have a problem, the two dll "Stimulsoft.Report.WpfDesign.dll" and "Stimulsoft.Report.Wpf.dll" have the Runtime version to "v4.0.30319" and not "v2.0.50727" also other dll (for example "Stimulsoft.Report.dll" is compiled with the Runtime version "v2.0.50727").
Is possible have your two dll "Stimulsoft.Report.WpfDesign.dll" and "Stimulsoft.Report.Wpf.dll" compiled with the Runtime version "v2.0.50727"?
Thanks, Riccardo Zanardini.
Re: Runtime version
Hello.
What product do you use?
Due to technical problems we transferred the Repost.Wpf to .Net Framework 4.0. And now it doesn't support .Net Framework 3.5 and below.
Thank you.
What product do you use?
Due to technical problems we transferred the Repost.Wpf to .Net Framework 4.0. And now it doesn't support .Net Framework 3.5 and below.
Thank you.
-
- Posts: 11
- Joined: Fri Feb 11, 2011 8:41 am
- Location: Italia
Re: Runtime version
This is a big problem for us.
We have a WinForm application compiled with the Microsoft Framework 3.5 SP1 that call this c# code:
using (var report = new StiReport())
{
StiOptions.Designer.Ribbon.ShowHelp = false;
report.Load(myReportFile);
report.RegData(myDataSet);
StiOptions.Designer.DontAskSaveReport = true;
report.DesignWithWpf();
}
and in version 2011.1 it run correctly but in 2012.2 crash (at line "report.DesignWithWpf();") because the Runtime version with which you have compiled dll is 4.0 and not 2.0.
Any workaround?
We have a WinForm application compiled with the Microsoft Framework 3.5 SP1 that call this c# code:
using (var report = new StiReport())
{
StiOptions.Designer.Ribbon.ShowHelp = false;
report.Load(myReportFile);
report.RegData(myDataSet);
StiOptions.Designer.DontAskSaveReport = true;
report.DesignWithWpf();
}
and in version 2011.1 it run correctly but in 2012.2 crash (at line "report.DesignWithWpf();") because the Runtime version with which you have compiled dll is 4.0 and not 2.0.
Any workaround?
Re: Runtime version
Hello.
Unfortunately, there will be no WPF assemblies for .Net Framework 2.0 or 3.5.
You could either use the report.Design(); method or upgrade your project to .Net Framework 4.0 or above.
Thank you.
Unfortunately, there will be no WPF assemblies for .Net Framework 2.0 or 3.5.
You could either use the report.Design(); method or upgrade your project to .Net Framework 4.0 or above.
Thank you.
-
- Posts: 11
- Joined: Fri Feb 11, 2011 8:41 am
- Location: Italia
Re: Runtime version
Unfortunately this is not a good answer for us.
Thanks, Riccardo.
Thanks, Riccardo.
Re: Runtime version
Hello.
Sorry, but we should go forward.
Let us know if you will have any problems.
Thank you.
Sorry, but we should go forward.
Let us know if you will have any problems.
Thank you.
-
- Posts: 11
- Joined: Fri Feb 11, 2011 8:41 am
- Location: Italia
Re: Runtime version
Hi,
I have integrated Stimulsoft Version 2012.3 and I have used the Design for Windows Form but my problem is already present:
I have a report with one Datasource called "MyDataSet" which contain a soingle datatable with 2 columns:
- Id (integer)
- Description (string)
On Datatasorce i click:
1) New DataSource
2) Data From Other DataSource
In the form o new Datasource:
1) in the tab Data Souce I select my datatable
2) in the tab Groups I select the column "description"
3) in the tab Results I select the expression COUNT on the column "ID"
I close this form and when i click on the preview of the report I have the error:
"Object reference not set to an instance of an object."
This is the errors detail:
----------------------------
[Customer Explanation]
----------------------------
[General Info]
Application: Abletech.Arxivar.Client.UI.Dialogs_Fixture
Framework: v2.0.50727
Version: Version: 2012.3.1500 from 3 December 2012
MachineName: CVS76
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
UserName: r.zanardini
----------------------------
[Exception Info]
Message: Object reference not set to an instance of an object.
Source: Stimulsoft.Report
StackTrace:
at Stimulsoft.Report.Dictionary.StiVirtualSource.Compare(Object[] values1, Object[] values2)
at Stimulsoft.Report.Dictionary.StiVirtualSource.ConnectToData()
at Stimulsoft.Report.Dictionary.StiDictionary.ConnectVirtualDataSources()
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, Int32 fromPage, Int32 toPage)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Stimulsoft.Report.Design.Controls.StiDesignerPreviewControl.btRefresh_Click(Object sender, EventArgs e)
----------------------------
[Assemblies]
mscorlib, Version = 2.0.0.0
System, Version = 2.0.0.0
System.Core, Version = 3.5.0.0
System.Data, Version = 2.0.0.0
System.Drawing, Version = 2.0.0.0
System.Windows.Forms, Version = 2.0.0.0
Can you reply this error with this description of stesp?
Can you resolve?
We
Thanks,
Riccardo Zanardini.
I have integrated Stimulsoft Version 2012.3 and I have used the Design for Windows Form but my problem is already present:
I have a report with one Datasource called "MyDataSet" which contain a soingle datatable with 2 columns:
- Id (integer)
- Description (string)
On Datatasorce i click:
1) New DataSource
2) Data From Other DataSource
In the form o new Datasource:
1) in the tab Data Souce I select my datatable
2) in the tab Groups I select the column "description"
3) in the tab Results I select the expression COUNT on the column "ID"
I close this form and when i click on the preview of the report I have the error:
"Object reference not set to an instance of an object."
This is the errors detail:
----------------------------
[Customer Explanation]
----------------------------
[General Info]
Application: Abletech.Arxivar.Client.UI.Dialogs_Fixture
Framework: v2.0.50727
Version: Version: 2012.3.1500 from 3 December 2012
MachineName: CVS76
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
UserName: r.zanardini
----------------------------
[Exception Info]
Message: Object reference not set to an instance of an object.
Source: Stimulsoft.Report
StackTrace:
at Stimulsoft.Report.Dictionary.StiVirtualSource.Compare(Object[] values1, Object[] values2)
at Stimulsoft.Report.Dictionary.StiVirtualSource.ConnectToData()
at Stimulsoft.Report.Dictionary.StiDictionary.ConnectVirtualDataSources()
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, Int32 fromPage, Int32 toPage)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Stimulsoft.Report.Design.Controls.StiDesignerPreviewControl.btRefresh_Click(Object sender, EventArgs e)
----------------------------
[Assemblies]
mscorlib, Version = 2.0.0.0
System, Version = 2.0.0.0
System.Core, Version = 3.5.0.0
System.Data, Version = 2.0.0.0
System.Drawing, Version = 2.0.0.0
System.Windows.Forms, Version = 2.0.0.0
Can you reply this error with this description of stesp?
Can you resolve?
We
Thanks,
Riccardo Zanardini.
Re: Runtime version
Hello.
Could you send us a report template with sample data to reproduce the issue.
Thank you.
Could you send us a report template with sample data to reproduce the issue.
Thank you.
-
- Posts: 11
- Joined: Fri Feb 11, 2011 8:41 am
- Location: Italia
Re: Runtime version
Hi,
in attachment you can see my example.
If you run my example you can follow this list of steps:
1) in the TAB DICTIONARY on TreeItem Data Sources you must clik "new Data Source..."
2) You must select "Data From Other Data Source"
3) In the tab "Data Source" you must select "DataTableName"
4) in the tab Groups you must select "Add Group" and in the combo "Column" you select the field "DESCRITPION"
5) in the tab Results you must select "Add Result" and in the combo "Column" you select the field "ID" and in the combo "Aggregate Function" you select the field "COUNT"
6) Press OK
Now if you run the report you have the error.
The reason of the error is the wizard. If you see the new DataSource created in the TAB DICTIONARY you can see that the column "DESCRIPTION" is renamed from you wizard in "RIPRION" without "DESC" !!!
If in my esample you rename the column "DESCRIPTION" in the datatable created a runtime in "CAMPO" you have not the problem because your wizard not found the alias DESC at the start of column name!
Do you understand now?
Thanks, Riccardo Zanardini
in attachment you can see my example.
If you run my example you can follow this list of steps:
1) in the TAB DICTIONARY on TreeItem Data Sources you must clik "new Data Source..."
2) You must select "Data From Other Data Source"
3) In the tab "Data Source" you must select "DataTableName"
4) in the tab Groups you must select "Add Group" and in the combo "Column" you select the field "DESCRITPION"
5) in the tab Results you must select "Add Result" and in the combo "Column" you select the field "ID" and in the combo "Aggregate Function" you select the field "COUNT"
6) Press OK
Now if you run the report you have the error.
The reason of the error is the wizard. If you see the new DataSource created in the TAB DICTIONARY you can see that the column "DESCRIPTION" is renamed from you wizard in "RIPRION" without "DESC" !!!
If in my esample you rename the column "DESCRIPTION" in the datatable created a runtime in "CAMPO" you have not the problem because your wizard not found the alias DESC at the start of column name!
Do you understand now?
Thanks, Riccardo Zanardini
- Attachments
-
- StimulsoftExample.zip
- (7.16 MiB) Downloaded 299 times
Re: Runtime version
Hello.
We have reproduced your issue. We need time make a fix.
We will let you know about the result.
Thank you.
We have reproduced your issue. We need time make a fix.
We will let you know about the result.
Thank you.