Telerik.Reporting.Xml.XmlSerializerExcepion: An error has occurred during xml serialization. The xml serializer cannot resolve type with name: Report
at Telerik.Reporting.Xml.ObjectXmlReader.ReadXmlElement(String name)
at Telerik.ReportDesigner.Packages.ReportDesigner.Serialization.ReportDesignerLoader.ReadReport()
at Telerik.ReportDesigner.Packages.ReportDesigner.Serialization.ReportDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
I am aware of the upgrade wizard on visual studio etc. but I cant seem to find the upgrade wizard on report designer. Is there a solution for this?
7 Answers, 1 is accepted
The Standalone Designers from different releases serialize the report with updated standards, which causes the issue when yo try to preview XML report definition created with Q3 2013 with the Standalone Designer of Q1 2013. Upgrading report definitions happens automatically, but downgrading is not supported.
We can suggest you to create Visual Studio reports library, which can be up/downgraded using the Upgrade Wizard, and when needed you can import the generated DLL with the corresponding version of the Standalone Designer.
I hope this information helps you.
Regards,
Stef
Telerik
New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.
Thank you for your reply. Can you explain more on report library? What steps does that that involve? Will I be able to attach/import the Q3 upgraded .trdx report to visual studio report library and perform the upgrade wizard on there?
I found a fix for my problem above. All I need to do is open that telerik report on visual studio and they will give me its xml format. I just need to change the xmlns="http://schemas.telerik.com/reporting/2012/3.4" to http://schemas.telerik.com/reporting/2012/2 save it and it opens fine on Q1.
Cheers.
Changing the namespace can allow downgrading in specific cases, but beside it we change the way reports are serialized. Please test my previous suggestion. Basically you will have your reports as a VS project building a DLL. This project can be up/downgraded using the Upgrade Wizard. When you need specific report as trdx file, you will have to import it in the corresponding Standalone Designer. Importing trdx files in Vs is not supported, but you can still deserialize them to modify the report definition programmatically.
Regards,
Stef
Telerik
New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.
Yes, i think i know what you meant. The reports originally exist from vs but I had to reconstruct it on report designer so the clients do not have to touch anything related to code if they want to edit or view the file. I think for my case it should be fine because i did 0 changes on Q3 2013.
[quote]I found a fix for my problem above. All I need to do is open that telerik report on visual studio and they will give me its xml format. I just need to change the xmlns="http://schemas.telerik.com/reporting/2012/3.4" to http://schemas.telerik.com/reporting/2012/2 save it and it opens fine on Q1. [/quote]
This saved me so much time. Thank you very much.
[quote]Jason said:Hi Stef,
I found a fix for my problem above. All I need to do is open that telerik report on visual studio and they will give me its xml format. I just need to change the xmlns="http://schemas.telerik.com/reporting/2012/3.4" to http://schemas.telerik.com/reporting/2012/2 save it and it opens fine on Q1.
Cheers.[/quote]
Excellent - this solved my problem thank you.