Hi there.
When we upgraded from Crystal 9 to 11, we had the same issue. I did use the Dispose() Method but it came back again. Here is what Business Objects emailed me, word for word, on what to do if this happens.
We have made all the changes except for the registry key. If you set the PrintJobLimit key over its default of 75, business objects warns that it may affect performance.
Hope this helps.
Eva
Original Message:
---------------------------------------------------------------------
First, I would request you to add the below-mentioned code in the "Page_Unload()" event to release the ReportDocument properly.
----------------------------
crReport.Close()
crReport.Dispose()
GC.Collect()
GC.WaitForPendingFinalizers()
// where crReport is a ReportDocument object
----------------------------
Please ensure that the "report" folder and the "temp" are having the proper IIS_WPG account full access control permission. To find "temp" folder [Click- Start â Run, Type "%temp%"]
To give the IIS_WPG account full control of a folder:
1. Right-click the folder and select 'Properties'.
2. Go to the 'Security' tab and click the 'Add' button.
3. Click the 'Locations' button and select the computer name. Click 'OK'.
4. Type "IIS_WPG" under the 'Enter the object names to select' box.
5. Click 'Check Names'. <Your machine name>\IIS_WPG appears. Click 'OK'.
6. Check 'Full Control' from 'Permissions for IIS_WPG'. Click 'OK'.
NOTE:
The IIS_WPG includes the LocalService, System, and NetworkService accounts.
-------------
Also, you mentioned that "Increasing the PrintJobLimit in the registry isn't really an option since we have so many users", please note that there is no need to change the registry settings in all the production machine. We should have to change the registry settings only in the deployment server. It would reflect all the client machines.
I would request you to follow the below-mentioned steps to change the registry key in deployment server:
1. Click on "Start"---> "Run".
2. Type "Regedit".
3. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\ 4. Select "InprocServer" and in the right-hand window of the Registry Editor, double-click âPrintJobLimitâ. The 'Edit String' dialog box will appear.
5. In the 'Value Data' text box enter '150' and click 'OK'.
6. Close the Registry Editor and then reboot.
|