or
'Create an XML reader object from the updated string
Using xmlReader As System.Xml.XmlReader = System.Xml.XmlReader.Create(New System.IO.StringReader(xmlString))
'Create the report object and assing it the deserialised report definition
Dim xmlSerializer As New System.Xml.Serialization.XmlSerializer(GetType(Telerik.Reporting.Report))
Dim report1 As New Telerik.Reporting.Report
report1 = xmlSerializer.Deserialize(xmlReader)
report1.Report.ReportParameters(0).Value = imagePath
report1.Report.ReportParameters(1).Value = Session("User_GUID").ToString
'Assing the report object to the report viewer
ReportViewer.Report = report1
End Using
I know its not the latest good practice but changing the serialiser to this
Dim xmlSerializer As New Telerik.Reporting.XmlSerialization.ReportXmlSerializer()
Dim report As Telerik.Reporting.Report = DirectCast(xmlSerializer.Deserialize(xmlReader), Telerik.Reporting.Report)
Gives the new error: - An error has occurred during xml serialization. The xml serializer cannot resolve type with name:
Searching the forum doesn't return any results, so guessing this is a new problem.
Andy