Skip to Content

HRESULT 0X8002000B (DISP_E_BADINDEX) trying to run reports

Hi.

I have Crystal reports runtime version 13.0.23.2819 and the same for developping with VS. My reports made with version 10 run without problem, but the news don't do it. Even a report that just consists on one table (no joins, no parameters, no conditions). In the Visual Studio viewer I can see the results, but in client always is shown the error message.

While compiling I reada warning: "Excepción producida: 'System.Runtime.InteropServices.COMException' en CrystalDecisions.CrystalReports.Engine.dl"

Can someone help me?l

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 26, 2018 at 04:38 PM

    In VS click on the Engine and other Assemblies and change the Embedded Interopt Type to false.

    You'll need to check a few of the other ones as well, the other ones I have to to False are:

    CrystalDecisions.CrystalReports.Engine

    CrystalDecisions.ReportAppServer.DataSetConversion

    CrystalDecisions.ReportSource

    CrystalDecisions.Shared

    CrystalDecisions.Windows.Forms

    Don

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 11, 2018 at 12:57 PM

    Good morning.

    I have all the assemblies to false. That's not the problem. The error raises at setting paramaters to the report from the application:

    report.SetParameterValue("IdCentro", Usuario.GetCurrentUsuario().IdCentro.ToString());

    and program doesn't reach the next line:

    crystalReportViewer1.ReportSource = report;

    Thanks

    Add comment
    10|10000 characters needed characters exceeded