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

MissingManifestResourceException when rendering report

1 Answer 189 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 06 Jun 2009, 01:42 PM
Hi,

I am using the latest version of Reporting (as of Jun6), I get this exception when tryign the view a report in the ReportVeiwer control. This is all windos based.
I have a report in a class library, the business object in another class library, and the executing Winforms app with the viewer in it.

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

I can run sample apps from Telerik without problems, and I am using business object from one of your samples (Master-Detail sample from an earlier forum thread). That works fine when I create a new solution with the same structure, but does not work when using it in my existing solution.

Any idea why this can be?

I made sure all the references are there. But even the simplest, non-nested business object cannot be rendered into a report.

RptOrders

orders = new ObjDataSourceMasterDetail.Reports.RptOrders();

 

 

orders.DataSource = Order.CreateOrderList(); //taken from sample provided by Telerik

 

 

this.reportViewer1.Report = orders;

 

 

reportViewer1.RefreshReport(); //exception occurs after call to RefreshReport()

 


The report itself is simple. It has one textbox with "=Fields.OrderID" etc. and all that gets rendered correctly, but only after a series of exceptions come up, starting with the MissingManifestResourceException, then this is followed by a ArgumentOutOfRangeException, which is followed by a TargetInvocationException.
No stacktraces are available. In all 3 cases the stacktrace has only one less than helful line. There are no inner exceptions either.
I cannot narrow it down to a component or anything else.

I also made sure I have all the references that the sample project has, too. The sample works, renders the report perfectly, my my app doesn't.

Help!!!

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 12 Jun 2009, 06:29 AM
Hi Timothy,

The error you've received has only been reported in cases where reports have been used directly in web site projects (due to specifics and limitations of web sites), so it is strange to receive it in a windows form app. Please try moving the business object in the same class library as the reports (or the other way around) and see if that changes anything. If this is not the case, please zip and send us a link to a sample project that replicates the error or open a support ticket and attach it there.

Looking forward to your reply.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or