Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
on ReportServer Class
Microsoft.ReportingServices.RdlObjectModel.Report

XmlSerializer serializer = new XmlSerializer(typeof(Report))

ther is an error
System.InvalidOperationException was unhandled
InnerException: System.NotSupportedException
Message=Cannot serialize member Microsoft.ReportingServices.RdlObjectModel.Report

(c# 2010 Sql server R2)

tank's
Posted
Comments
PumbaPumba 28-Sep-10 2:23am    
Are you trying to seriealize the RDL report which is available in you reporting server?

Have you checked to see if IsSerializable?

http://blogs.msdn.com/b/jaredpar/archive/2009/03/31/is-it-serializable.aspx[^]

Doesn't sound like it is....
 
Share this answer
 
Comments
benFrenkel 27-Sep-10 18:21pm    
there is some demos with this option on the net
it's about working with Rdlom class on runtime when you need to
dserialize rdlfile

the other option is to work with
Microsoft.ReportingServices.RdlObjectModel.Serialization
with Microsoft.ReportingServices.Designer.Controls Ref
i have a problem with the namespace i can't see the method

ther is a method RdlSerialiser.Load in this namespace
om the net i found that the same error apeard to some others

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900