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

Reporting Error

4 Answers 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 20 Aug 2008, 07:49 PM
Ok...In my report I tried building a report using textboxes.  It was working "ok" but the web preview wasn't looking good at all and completely off from the other preview.

I then decided to open the word doc and save it as a .jpg.  I created a picture viewer and put the .jpg image of the report in place.  I went to preview it and it crashes visual studio.  It gives this error:

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "CoverSheetReport.resources" was correctly embedded or linked into assembly "App_Code.gaslankx" at compile time, or that all the satellite assemblies required are loadable and fully signed.

The .jpg file is added to the project and I browsed to that location on the machine.  Any help would be appreciated.

Thanks!


4 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 20 Aug 2008, 07:53 PM
Here is the line of code where the error occurs:

Me.pictureBox1.Value = CType(resources.GetObject("pictureBox1.Value"), Object)


0
Chavdar
Telerik team
answered on 21 Aug 2008, 08:16 AM
Hello David,

This error happens because you define your reports in a Web Site project. The Web Site project handles differently the embedded resources and this is the cause of the problem. In order to solve it consider defining the reports in a separate class library. For more information please visit the Solution Structure documentation article.

Greetings,
Chavdar
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ivan Ruiz
Top achievements
Rank 1
answered on 20 Mar 2009, 08:22 PM
Hi, i am experimenting exactly the sam issue but the LINK reference provided is not active anymore

Is ther any other link wher to find a troubleshoot for this issue.

Ivan Ruiz
0
Svetoslav
Telerik team
answered on 23 Mar 2009, 09:57 AM
Hello Ivan Ruiz,

Please, excuse us for the inconvenience. You can find the Best Practices help topic here: http://www.telerik.com/help/reporting/best-practices-solution-structure.html.

Greetings,
Svetoslav
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Chavdar
Telerik team
Ivan Ruiz
Top achievements
Rank 1
Svetoslav
Telerik team
Share this question
or