Informes Crystal en .NET
Publicado por VAF (2 intervenciones) el 12/02/2007 16:54:43
Buenas:
estoy teniendo dos problemas con la visualización de informes Crystal Reports desde una aplicación WEB hecha en .NET (VB.NET).
El primero de ellos consiste en un error en tiempo de ejecución a la hora de cargar informes. Desde VISUAL funciona correctamente, el problema es al ejecutarlo desde la WEB. El error que muestra es el siguiente:
-----------------------------------------------------------------------------------------------------------------------------Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.
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: Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x800002ad): Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +341
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +869
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +97
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +45
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +74
CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +54
CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +189
CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +40
CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +7
System.Web.UI.Page.OnLoadComplete(EventArgs e) +2010392
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1209
-----------------------------------------------------------------------------------------------------------------------------
El segundo problema consiste en la carga de informes Crystal que incluyan subinformes. El código implementado en este tipo de informes es similar al que tenemos en informes que NO incluyen subinformes. Sin embargo, en estos últimos funciona correctamente.
A la hora de ejecutarlos, pide los parámetros (de informe y subinforme), así como la cadena de conexión a la Base de Datos del subinforme.
Muchas gracias por vuestra ayuda.
Un saludo
estoy teniendo dos problemas con la visualización de informes Crystal Reports desde una aplicación WEB hecha en .NET (VB.NET).
El primero de ellos consiste en un error en tiempo de ejecución a la hora de cargar informes. Desde VISUAL funciona correctamente, el problema es al ejecutarlo desde la WEB. El error que muestra es el siguiente:
-----------------------------------------------------------------------------------------------------------------------------Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.
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: Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x800002ad): Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +341
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +869
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +97
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +45
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +74
CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +54
CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +189
CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +40
CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +7
System.Web.UI.Page.OnLoadComplete(EventArgs e) +2010392
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1209
-----------------------------------------------------------------------------------------------------------------------------
El segundo problema consiste en la carga de informes Crystal que incluyan subinformes. El código implementado en este tipo de informes es similar al que tenemos en informes que NO incluyen subinformes. Sin embargo, en estos últimos funciona correctamente.
A la hora de ejecutarlos, pide los parámetros (de informe y subinforme), así como la cadena de conexión a la Base de Datos del subinforme.
Muchas gracias por vuestra ayuda.
Un saludo
Valora esta pregunta


0