Hello, all. I am receiving an error that I hope you all can help me with.
After running a while or quite a few reports, I get the message " The
maximum report processing jobs limit configured by your system administrator has been reached."
I know this is because I havent put the following in:
I have a function that gets data from the DB, and uses a SQLDataAdapter to get the information, then "fills" that to the ReportDocument.
However, when I put that code in right after putting the ReportDocument into another variable and setting the CrystalReportsViewr to the new variable, not the ReportDocument, I get the following error: Object reference not set to an instance of an object.
I thought it might be due to the fact that it was still loading, so I changed the scope of the ReportDocument and moved the
to the Page_Unload. I am able to run the report, but I get the message "Unable to process your request" in a Message Box. I fI click Show Details, I see the same error as before: "Object reference not set to an instance of the object.
I was hoping to put some sort of code in the Session_End of the Global.asax, but I'm not sure how to even start going about doing this. I've searched and searched, but I can't find anything to help.
I was hoping to find a something that would allow me to find "open" objects of the ReportDocument kind and close them, kind of like a For Each or something similar.
I am new to C#, so perhaps 'm not able to do that. If anyone has any suggestions, I am completely open.