Page 1 of 1
Type 'StiReport' is not marked as serializable.
Posted: Mon Feb 17, 2014 10:36 am
by dinhhuong193
Hi,
I would like to know how to solve a problem I have often in my reports:
Please download Wpf Project
http://forum.stimulsoft.com/download/fi ... ew&id=4102 was attached to this topic.
1. I start the project, then I press "
First Button" to load Stimulsoft Report like the image below:
http://forum.stimulsoft.com/download/fi ... ew&id=4103
2. After that I click on "
Second Button", I get error:
Type 'Stimulsoft.Report.StiReport' in Assembly 'Stimulsoft.Report, Version=2014.1.1802.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' is not marked as serializable.
3. Could you help me to fix this error?
Thanks in advance
Đinh Hương
Re: Type 'StiReport' is not marked as serializable.
Posted: Mon Feb 17, 2014 11:16 am
by Alex K.
Hello,
We couldn't reproduce this bug.
Please check the load report. We get the followinng error by click on First button:
Thank you.
Re: Type 'StiReport' is not marked as serializable.
Posted: Tue Feb 18, 2014 2:35 am
by dinhhuong193
1. I use these .Dll in the "
bin" directory of project:
Stimulsoft.Base.dll
Stimulsoft.Base.xml
Stimulsoft.Report.dll
Stimulsoft.Report.Wpf.dll
Stimulsoft.Report.Wpf.Office2013Theme.dll
Stimulsoft.Report.Wpf.xml
Stimulsoft.Report.WpfDesign.dll
Stimulsoft.Report.WpfDesign.xml
Stimulsoft.Report.xml
with File version:
2014.1.1802.0
2. I open project with
Microsoft Visual Studio Professional 2013 Version 12.0.30110.00 Update 1 and
Framework 4.0 on
Windows 8.1 Professional 64bit Edition.
3. Please use this code to avoid the error "
is not a valid value for property 'Width'"
Code: Select all
Imports Stimulsoft.Report
Class FirstPage
Private Sub Page_Loaded(sender As Object, e As RoutedEventArgs)
Dim report As New StiReport
ViewerControl.Report = report
End Sub
End Class
4. I click
First button to load report and I still get the error when I click
Second button:
Type 'Stimulsoft.Report.StiReport' in Assembly 'Stimulsoft.Report, Version=2014.1.1802.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' is not marked as serializable.
Please help me to solve this error.
Thanks for quick reply.
Đinh Hương.
Re: Type 'StiReport' is not marked as serializable.
Posted: Tue Feb 18, 2014 11:52 am
by Alex K.
Hello,
Unfortunately, we do not support a work with a Frame component.
Thank you.
Re: Type 'StiReport' is not marked as serializable.
Posted: Tue Feb 18, 2014 12:45 pm
by dinhhuong193
Which Frame component can you support me? I will send another project to you soon.
Thank u very much.
Đinh Hương.
Re: Type 'StiReport' is not marked as serializable.
Posted: Tue Feb 18, 2014 12:53 pm
by Alex K.
Hello,
Can you please describe your task in more details.
Thank you.