Reputation: 9
The report has been successfully generated, but I can not see its print layout. After I click the "Print Layout" button in Report Viewer, Error occurred:
"An error occurred during local report processing, Parameter is not valid."
Then i click the "Print Layout" button again, it's ok to go back to the normal layout...
Anyone can help?
I'm using vs2010 reportviewer winform, and in my .rdlc file ,I did not pass any parameters to the report except bind the business obj as DataSource.
PS:
After I delete the old rdlc file and create a new one, it works fine. Although the problem is gone, but i still don't know why! If anyone who knows the reason tells me why, I'll be appreciated.
Upvotes: 1
Views: 3112
Reputation: 862
In my case, I had a chart that was too wide for printing. Or rather, I forgot to put the report printing in landscape mode.
Upvotes: 4
Reputation: 9
The way to solve problem is: delete the old rdlc file and redesign an new rdlc.
Upvotes: -1