0
votes

My report is working all the while, until it suddenly hitting this error "An error occurred during local report processing." . I am not able to locate the actual problem.

_reportViewer.LocalReport.SetParameters(rptParameter); //<--Hit error

I have try the solution on An error occurred during local report processing..The definition of the report '' is invalid , but it is still not working

Please advice .

2
You need to provide bigger code sample to be able to even start guessing what the problem might be. - InitK

2 Answers

2
votes

This is the most generic error you can find working with rdlc.

You have to catch the Exception and give a look at the various levels of InnerException; i.e.:

ex.Message
ex.InnerException.Message
ex.InnerException.InnerException.Message
0
votes

Maybe try to allow null the parameter you have,

i think you are sending a nothing value on that parameter and your parameter is not design to accept null value, so error will occur. if the problem still there, try to add screen shot