Cree un crystal report con subreporte en Evolution 1.10.0.9 y esta configurado para que lo visualice a pdf, pero cuando lo genero me lanza el siguiente mensaje:
Aseinfo.Infrastructure.Base.Exceptions.ReportGenerationException: Hubo un error generando un reporte de Crystal Reports. Ver la excepción interna para detalles.
---> CrystalDecisions.CrystalReports.Engine.LogOnException: La conexión no es posible. No es posible exportar el informe.
Error en archivo fbbf390e-df76-4c97-86c7-5d1002a9938f 8580_12232_{62344B4B-52E0-47D5-93BC-340FE9073C8E}.rpt:
No se puede conectar: parámetros de conexión incorrectos.
---> System.Runtime.InteropServices.COMException: La conexión no es posible. No es posible exportar el informe.
Error en archivo fbbf390e-df76-4c97-86c7-5d1002a9938f 8580_12232_{62344B4B-52E0-47D5-93BC-340FE9073C8E}.rpt:
No se puede conectar: parámetros de conexión incorrectos.
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
at Aseinfo.Infrastructure.Services.CrystalReportsGenerator.Generate(Reporte reporte, DataSet ds) in C:\vh4\Infrastructure\Services\Reportes\CrystalReportsGenerator.cs:line 125
--- End of inner exception stack trace ---
at Aseinfo.Infrastructure.Services.CrystalReportsGenerator.Generate(Reporte reporte, DataSet ds) in C:\vh4\Infrastructure\Services\Reportes\CrystalReportsGenerator.cs:line 143
at Aseinfo.Infrastructure.Services.ReporteService.GenerateReport(Reporte reporte, IEnvironmentVariables variables, IDictionary`2 valoresParametros) in C:\vh4\Infrastructure\Services\Reportes\ReporteService.cs:line 156
at Aseinfo.Infrastructure.Controllers.ReportesController.GenerarReporte(String codigoReporte, Dictionary`2 parametros, Boolean mostrandoEnDialogo) in C:\vh4\Infrastructure\Controllers\ReportesController.cs:line 396
Lo curioso es que cuando pongo para que salga con el visor de reportes, allí no da ningún error y si lo puedo exportar a pdf desde el visor.
asked
14 Feb '17, 11:55
Josue Mancilla
(suspended)
accept rate:
42%
¿Ya probaste cambiando los parámetros, para ver si el contenido de los subreportes cambian, cuando lo envías al Visor?
Ya probé cambiarle los parámetros y en efecto el contenido en subreportes cambia cuando se genera en Visor.
¿Me podrías enviar por correo el reporte, los procedimientos y la configuración, para poder evaluar el problema?