An error has occurred while attempting to load the Crystal Reports runtime (Advance installer) RRS feed

  • Question

  • Im trying to create a setup for my project it has db with sqlexpress connection and crystal reports

    it works fine before setup , after i create a setup from advance installer

    when I try to use the report, I get the following error at runntime:

    Crystal Reports
    An error has occurred while attempting to load the Crystal Reports runtime.

    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.

    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http for more information.

    This is how i call my crystal report ,

    private void btnPrint_Click(object sender, EventArgs e)
                if (cmbCategory.Text == "Setiap_Struk")
                    DataSet ds = new DataSet();
                    DataTable dt = new DataTable();
                    dt.Columns.Add("IdStruk", typeof(string));
                    dt.Columns.Add("Jumlah", typeof(Int32));
                    dt.Columns.Add("Harga", typeof(Int32));
                    dt.Columns.Add("Tanggal", typeof(string));

                    foreach (DataGridViewRow dgr in dataGridView2.Rows)
                        dt.Rows.Add(dgr.Cells[0].Value, dgr.Cells[1].Value, dgr.Cells[2].Value, dgr.Cells[3].Value);

                    CrystalReport1 cr = new CrystalReport1();
                    cr.SetParameterValue("Total", txtTotalP.Text);
                    cr.SetParameterValue("Jumlah", txtTotal.Text);
                    cr.SetParameterValue("DariTanggal", DTPFROM.Text);
                    cr.SetParameterValue("KeTanggal", DTPTO.Text);
                    Crviewer.ReportSource = cr;

    • Moved by CoolDadTx Thursday, September 27, 2018 2:24 PM Third party product
    Wednesday, September 26, 2018 10:17 AM

All replies

  • Hi iSunner,

    This forum discusses and asks questions about the C# programming language, since your issue is more related to Crystal Reports, which is 3rd-party control, I would suggest that you could post your issue on the following link for suitable support.


    Thanks for your understanding and cooperation.

    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, September 27, 2018 7:17 AM