This is a migrated thread and some comments may be shown as answers.

An error has occurred during the XML serialization process

2 Answers 541 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yongke
Top achievements
Rank 1
Yongke asked on 14 May 2013, 06:33 PM
I got the following error on report load, what should I do?


An error has occurred during xml serialization. The xml serializer cannot resolve type with name: Report
at Telerik.Reporting.Xml.ObjectXmlReader.ReadXmlElement(String name) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.XmlObjectXmlReader.cs:line 449
at Telerik.Reporting.Xml.ObjectXmlReader.Deserialize() in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.XmlObjectXmlReader.cs:line 24
at Telerik.Reporting.Xml.XmlSerializer.Deserialize(XmlReader reader) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.XmlXmlSerializer.cs:line 86
at Telerik.Reporting.Xml.XmlSerializer.Deserialize(String fileName) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.XmlXmlSerializer.cs:line 76
at Telerik.Reporting.XmlSerialization.ReportXmlSerializer.Deserialize(String intputUri) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.XmlSerializationReportXmlSerializer.cs:line 191
at Telerik.Reporting.Processing.UriReportDocumentResolver.Resolve(IReportDocumentResolverContext context, UriReportSource rs) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.ProcessingReportDocumentResolver.cs:line 217
at Telerik.Reporting.Processing.ReportDocumentResolver`1.Telerik.Reporting.Processing.IReportDocumentResolver.Resolve(IReportDocumentResolverContext context, ReportSource rs, Boolean loadParameters) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.ProcessingReportDocumentResolver.cs:line 164
at Telerik.Reporting.Processing.ReportDocumentResolver.<>c__DisplayClass1.<Resolve>b__0(IReportDocumentResolver r) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.ProcessingReportDocumentResolver.cs:line 143
at Telerik.Reporting.Processing.ReportDocumentResolver.Bind[T](ReportSource source, Func`2 func) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.ProcessingReportDocumentResolver.cs:line 156
at Telerik.Reporting.Processing.ReportDocumentResolver.Resolve(IReportDocumentResolverContext context, ReportSource source, Boolean loadParameters) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.Reporting.ProcessingReportDocumentResolver.cs:line 143
at Telerik.ReportViewer.WebForms.ParametersPage.ResolveReportDocument(ReportSource reportSource) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.ReportViewer.WebFormsParametersPage.cs:line 142
at Telerik.ReportViewer.WebForms.ParametersPage.get_ReportDocument() in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.ReportViewer.WebFormsParametersPage.cs:line 55
at Telerik.ReportViewer.WebForms.ParametersPage.get_ParamsManager() in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.ReportViewer.WebFormsParametersPage.cs:line 85
at Telerik.ReportViewer.WebForms.ParametersPage.CreateChildControls() in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.ReportViewer.WebFormsParametersPage.cs:line 199
at System.Web.UI.Control.EnsureChildControls()
at Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e) in c: emp eporting@RBuild-24145Reporting_BuildSourceCodeTelerik.ReportViewer.WebFormsParametersPage.cs:line 151
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

2 Answers, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 17 May 2013, 03:26 PM
Hi Youngke,

We will need more information regarding your issue - what is your current setup, what is the structure of the report you get the exception for and any other related data that will help us identify the culprit faster and advise you more accordingly.

Regards,
IvanY
the Telerik team

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

0
Yongke
Top achievements
Rank 1
answered on 17 May 2013, 03:33 PM
Hi IvanY

Thanks for the reply.  I was able to solve the problem by re-installing the latest version of Telerik Report and NOT specify the Telerik Report version to include in my ASPX page.

I think the problem was just ASPX looking for an older version of Telerik Report after my computer updating to a newer version.
Tags
General Discussions
Asked by
Yongke
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Yongke
Top achievements
Rank 1
Share this question
or