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

Won't compile with Picture

1 Answer 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 18 Sep 2007, 11:19 PM
When putting in a picture, whether a .bmp or a .jpg, when compiling get this message:

"Cannot create an object of type 'Telerik.Reporting.Report' from its string representation 'rptCert, App_Code.dwvoff7v, Version=1.0.2817.32402, Culture=neutral, PublicKeyToken=null' for the Report property.

rptCert is the report with a TextBox and a .jpg.

It compiles and runs fine without the Picture containing a value.

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 19 Sep 2007, 05:16 PM
Hi William,

The reason for the problem is that the image is embedded in a resource file which afterwards can't be resolved from the Web Site project. The best workaround is to create the reports in a separate class library and reference them from there.
 

Kind regards,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
William
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Share this question
or