Run Time Problems. Cannot create an object of type 'Telerik.Reporting.Report' from its string representation.
Environment
Product | Progress® Telerik® Reporting |
Description
Cannot create an object of type 'Telerik.Reporting.Report' from its string representation 'MyNameSpace.MyClass, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' for the 'Report' property.
Solution
This error might occur if you are using WebSite project (check for example ASP.NET Website vs Web Application project) and you have the report class in the website directly. This is due to the fact that when using a website, after rebuild the following will always be different and it will not match with the originally assigned report: App_Code.unch8s_n. Thus we recommend following our best practices and have the report in a separate class library that is referenced in the aplication/website.