Problem generating FastReport .Net report with background image

Last Reply 3 days ago By dharmendr

Posted 15 days ago

Hey guys,

I use Visual Studio 2010 and I use FastReport Net (v. 1.2.47) to generate my reports but I came across a problem where I need to put a background image in the report and it gives the error described at the end of this post. The interesting thing is that it doesn't give an error if I don't set any datasource on it or if I set the datasource but don't use background image in the report.

I've already tested if the problem wasn't the DataSource but I found that it wasn't because I did the following tests:

Report (with background image) + DataSource = ERROR

Report (with background image) + Report Parameter (without Datasource) = ERROR

Report (no background image) + DataSource = OK

Report (no background image) + Report Parameter (no DataSource) = OK

Could someone help me?

The error that returns when trying to generate the report with the datasource and the background image follows.

Server Error in '/CVTWEB' Application.


Value cannot be null.
Parameter name: key

Description: An unhandled exception occurred while executing the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: key

If anyone can help me.

Grateful,

ilano

You are viewing reply posted by: dharmendr 3 days ago.