Errore creazione report

martedì 24 giugno 2008 - 10.19

lanfra Profilo | Senior Member

Mi torna un errore la visualizzazione del mio report, il messaggio è questo:

''''''''''''''''''''
The maximum report processing jobs limit configured by your system administrator has been reached.
Description: An unhandled exception occurred during the execution of 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.Runtime.InteropServices.COMException: The maximum report processing jobs limit configured by your system administrator has been reached.
''''''''''''''''''''

Qualcuno sa darmi consigli?

OK, mi sono documentato un po' ed ho trovato una soluzione funzionante che può essere d'aiuto a qualcuno:

1 - modificare la chiave di registro;
2 - liberare risorse della pagina report;

1. Aumentare il n° di report stampabili in CR modificando la chiave di registro sotto:
HKLM\SOFTWARE\CRYSTAL_DECISIONS\10.XX\REPORT_APPLICATION_SERVER\INPROCSERVER\PRINTJOBLIMIT (DEFAULT 100)

2.Liberare risorse HD chiudendo il report dopo la visualizzazione:
Private ConsegnaReport As ReportDocument Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload 'chiudo il report ConsegnaReport.Dispose() ConsegnaReport.Close() End Sub

freeteo Profilo | Guru

si infatti è proprio questo il trucchetto
Ottimo che hai postato la soluzione, grazie.

ciao.

Matteo Raumer
[MCAD .net]
http://blogs.dotnethell.it/freeteo

lanfra Profilo | Senior Member

E di chè, siamo una grossa comune


Lanfra
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5