none
Windows Application Error CrystalCodeLib was not found

    Question

  • I am having this error on one of the work station where I installed my application but on other computer it is working fine. here is the Error log:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.IO.FileNotFoundException: File or assembly name CrystalKeyCodeLib, or one of its dependencies, was not found.
    File name: "CrystalKeyCodeLib"
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.=()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.InternalInit()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
       at rptProcessInquiry..ctor()
       at frmReportViewer.frmReportViewer_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)

    === Pre-bind state information ===
    LOG: DisplayName = CrystalKeyCodeLib, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
     (Fully-specified)
    LOG: Appbase = C:\kaizen_dwd\bin\
    LOG: Initial PrivatePath = NULL
    Calling assembly : CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304.
    ===

    LOG: Publisher policy file is not found.
    LOG: Host configuration file not found.
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: CrystalKeyCodeLib, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    LOG: Attempting download of new URL file:///C:/kaizen_dwd/bin/CrystalKeyCodeLib.DLL.
    LOG: Attempting download of new URL file:///C:/kaizen_dwd/bin/CrystalKeyCodeLib/CrystalKeyCodeLib.DLL.
    LOG: Attempting download of new URL file:///C:/kaizen_dwd/bin/CrystalKeyCodeLib.EXE.
    LOG: Attempting download of new URL file:///C:/kaizen_dwd/bin/CrystalKeyCodeLib/CrystalKeyCodeLib.EXE.



    ************** 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
    ----------------------------------------
    CIS
        Assembly Version: 1.0.1.0
        Win32 Version: 1.0.1.0
        CodeBase: file:///C:/kaizen_dwd/bin/CIS.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
    ----------------------------------------
    CIS.Workflow
        Assembly Version: 1.0.4640.26902
        Win32 Version: 1.0.4640.26902
        CodeBase: file:///C:/kaizen_dwd/bin/CIS.Workflow.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
    ----------------------------------------
    System.Web.Services
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.573
        CodeBase: file:///c:/windows/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
    ----------------------------------------
    System.Web
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.573
        CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
    ----------------------------------------
    apc6j8xe
        Assembly Version: 0.0.0.0
        Win32 Version: 1.1.4322.573
        CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    ----------------------------------------
    drjthnb0
        Assembly Version: 0.0.0.0
        Win32 Version: 1.1.4322.573
        CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    ----------------------------------------
    AxInterop.MSMask
        Assembly Version: 1.1.0.0
        Win32 Version: 1.1.0.0
        CodeBase: file:///C:/kaizen_dwd/bin/AxInterop.MSMask.DLL
    ----------------------------------------
    Interop.MSMask
        Assembly Version: 1.1.0.0
        Win32 Version: 1.1.0.0
        CodeBase: file:///C:/kaizen_dwd/bin/Interop.MSMask.DLL
    ----------------------------------------
    tvgc1wah
        Assembly Version: 0.0.0.0
        Win32 Version: 1.1.4322.573
        CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    ----------------------------------------
    33w7gloq
        Assembly Version: 0.0.0.0
        Win32 Version: 1.1.4322.573
        CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    ----------------------------------------
    Accessibility
        Assembly Version: 1.0.5000.0
        Win32 Version: 1.1.4322.573
        CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
    ----------------------------------------
    CrystalDecisions.Windows.Forms
        Assembly Version: 9.1.5000.0
        Win32 Version: 9.1.9800.10
        CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.windows.forms/9.1.5000.0__692fbea5521e1304/crystaldecisions.windows.forms.dll
    ----------------------------------------
    CrystalDecisions.Shared
        Assembly Version: 9.1.5000.0
        Win32 Version: 9.1.9800.5
        CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.shared/9.1.5000.0__692fbea5521e1304/crystaldecisions.shared.dll
    ----------------------------------------
    CrystalDecisions.CrystalReports.Engine
        Assembly Version: 9.1.5000.0
        Win32 Version: 9.1.9800.23
        CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.crystalreports.engine/9.1.5000.0__692fbea5521e1304/crystaldecisions.crystalreports.engine.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.

    I am using vb.net 2003 and Crystal report 8.5.

    • Moved by Bob_BaoMVP Wednesday, September 19, 2012 5:18 AM (From:Visual Basic General)
    Tuesday, September 18, 2012 3:14 AM

All replies