Results 1 to 10 of 10

Thread: Error opening program with Crystal Report. [Resolved]

Threaded View

  1. #1

    Thread Starter
    Registered User
    Join Date
    Apr 2003
    Location
    Klang, Selangor, Malaysia
    Posts
    163

    Question Error opening program with Crystal Report. [Resolved]

    I had developed an Invoice System. This system uses Crystal Report to generate reports. Everything is working very fine. I also created an Installer for this Invoice System.

    I used this
    Installer to install Invoice System to a new PC. This new PC is empty. Only has Windows XP Home and Microsoft Access installed. Everything works fine. It can interacts with database file with no error. But when I try to generate report, error occurs. The error message is as below:
    An unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediately.

    Cannot find KeycodeV2.dll, or invalid keycode.
    The details of this error message is as below:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    CrystalDecisions.CrystalReports.Engine.InternalException: Cannot find KeycodeV2.dll, or invalid keycode.
    at .K(String 
    , EngineExceptionErrorID  )
    at .G(String , Int32 )
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.@()
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.InternalInit()
    at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
    at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
    at Invoice.rptInvoice..ctor()
    at Invoice.frmReport.frmReport_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
    ----------------------------------------
    Invoice System
    Assembly Version: 1.0.1271.17798
    Win32 Version: 1.0.1271.17798
    CodeBase: file:///C:/Program%20Files/Bert's%20Software/Invoice%20System%20v1.0/Invoice%20System.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
    ----------------------------------------
    System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.10.3052.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
    ----------------------------------------
    System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
    ----------------------------------------
    CrystalDecisions.Windows.Forms
    Assembly Version: 9.1.3300.0
    Win32 Version: 9.1.9370.0
    CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.windows.forms/9.1.3300.0__692fbea5521e1304/crystaldecisions.windows.forms.dll
    ----------------------------------------
    CrystalDecisions.Shared
    Assembly Version: 9.1.3300.0
    Win32 Version: 9.1.9360.0
    CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.shared/9.1.3300.0__692fbea5521e1304/crystaldecisions.shared.dll
    ----------------------------------------
    CrystalDecisions.CrystalReports.Engine
    Assembly Version: 9.1.3300.0
    Win32 Version: 9.1.9360.0
    CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.crystalreports.engine/9.1.3300.0__692fbea5521e1304/crystaldecisions.crystalreports.engine.dll
    ----------------------------------------
    CrystalKeyCodeLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///c:/windows/assembly/gac/crystalkeycodelib/1.0.0.0__692fbea5521e1304/crystalkeycodelib.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just in time (JIT) debugging, the config file for this
    application or machine (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the machine
    rather than being handled by this dialog.
    Why this error happens? How can I solve this problem? Do I need to install extra software to view Crystal-Report-generated reports?

    Please guide thank you.
    Last edited by albertlse; Aug 21st, 2003 at 08:17 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width