找不到Windows应用程序错误CrystalCodeLib [英] Windows Application Error CrystalCodeLib was not found

查看:121
本文介绍了找不到Windows应用程序错误CrystalCodeLib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我安装应用程序的工作站之一上遇到此错误,但在其他计算机上运行正常。这是错误日志:



有关调用

的详细信息,请参阅此消息的结尾实时(JIT)调试而不是此对话框。



**************异常文本*** ***********
$
System.IO.FileNotFoundException:找不到文件或程序集名称CrystalKeyCodeLib或其中一个依赖项。

文件name:" CrystalKeyCodeLib"

  在CrystalDecisions.CrystalReports.Engine.ReportDocument。 =()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.InternalInit()

  在CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

   at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()

   at rptProcessInquiry..ctor()

   at frmReportViewer.frmReportViewer_Load(Object sender,EventArgs e)

  在System.Windows.Forms.Form.OnLoad(EventArgs e)

  在System.Windows.Forms.Form.OnCreateControl()

  在System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

  在System.Windows.Forms.Control.CreateControl()

  在System.Windows.Forms.Control.WmShowWindow(消息& m)

  在System.Windows.Forms.Control.WndProc(消息& m)

  在System.Windows.Forms.ScrollableControl.WndProc(消息& m)

  在System.Windows.Forms.ContainerControl.WndProc(消息& m)

  在System.Windows.Forms.Form.WmShowWindow(消息& m)

  在System.Windows.Forms.Form.WndProc(消息& m)

  在System.Windows.Forms.ControlNativeWindow.OnMessage(消息& m)

  在System.Windows.Forms.ControlNativeWindow.WndProc(消息& m)

  在System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)



===预绑定状态信息===

LOG:DisplayName = CrystalKeyCodeLib,Version = 9.1.5000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304

 (完全指定)

日志:Appbase = C:\ kaizen_dwd \ bin \

日志:初始PrivatePath = NULL

调用程序集:CrystalDecisions.CrystalReports.Engine,Version = 9.1.5000.0 ,Culture = neutral,PublicKeyToken = 692fbea5521e1304。

===



日志:找不到发布商政策文件。

日志:找不到主机配置文件。

日志:使用C:\ WINDOWS \ MicroSoft \\\\\\\\\\\\\\\\\\\\\\ .config。

日志:政策后参考:CrystalKeyCodeLib,Version = 9.1.5000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304

日志:尝试下载新的URL文件:/// C:/kaizen_dwd/bin/CrystalKeyCodeLib.DLL。

日志:尝试下载新的URL文件:/// C:/kaizen_dwd/bin/CrystalKeyCodeLib/CrystalKeyCodeLib.DLL。

日志:尝试下载新的URL文件:/// C:/kaizen_dwd/bin/CrystalKeyCodeLib.EXE。

日志:尝试下载新的URL文件:/// C :/kaizen_dwd/bin/CrystalKeyCodeLib/CrystalKeyCodeLib.EXE。
$




$
****** ********已装载的装配**************
$
mscorlib

   汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

----------------- -----------------------

CIS

   汇编版本:1.0.1.0

    Win32版本:1.0.1.0

    CodeBase:file:/// C:/kaizen_dwd/bin/CIS.exe

------------------------- ---------------
$
System.Windows.Forms

   汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

-------- --------------------------------
$
系统

  ;  汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

---------------- ------------------------
$
System.Drawing

   汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

------------ ----------------------------

Microsoft.VisualBasic

   ; 汇编版本:7.0.5000.0

    Win32版本:7.10.3052.4

    CodeBase:file:/// c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll

------------ ----------------------------

CIS.Workflow

   ; 汇编版本:1.0.4640.26902

    Win32版本:1.0.4640.26902

    CodeBase:file:/// C:/kaizen_dwd/bin/CIS.Workflow.DLL

----------------------- -----------------
$
System.Data

   汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll

------------ ----------------------------
$
System.Xml

   ; 汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

------------ ----------------------------
$
System.Web.Services

  ;  汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll

-------- --------------------------------
$
System.Web

   汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll

------------ ----------------------------
$
apc6j8xe

     ;汇编版本:0.0.0.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

---------------- ------------------------
$
drjthnb0

   汇编版本:0.0.0.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

---------------- ------------------------
$
AxInterop.MSMask

   汇编版本:1.1.0.0

    Win32版本:1.1.0.0

    CodeBase:file:/// C:/kaizen_dwd/bin/AxInterop.MSMask.DLL

----------------------- -----------------
$
Interop.MSMask

   汇编版本:1.1.0.0

    Win32版本:1.1.0.0

    CodeBase:file:/// C:/kaizen_dwd/bin/Interop.MSMask.DLL

----------------------- -----------------
$
tvgc1wah

   汇编版本:0.0.0.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

---------------- ------------------------
$
33w7gloq

   汇编版本:0.0.0.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

---------------- ------------------------
$
辅助功能

   汇编版本:1.0.5000.0

    Win32版本:1.1.4322.573

    CodeBase:file:/// c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll

---------------- ------------------------
$
CrystalDecisions.Windows.Forms

     ;汇编版本:9.1.5000.0

    Win32版本:9.1.9800.10

    CodeBase:file:/// c:/windows/assembly/gac/crystaldecisions.windows.forms/9.1.5000.0__692fbea5521e1304/crystaldecisions.windows.forms.dll

-------- --------------------------------
$
CrystalDecisions.Shared

   汇编版本:9.1.5000.0

    Win32版本:9.1.9800.5

    CodeBase:file:/// c:/windows/assembly/gac/crystaldecisions.shared/9.1.5000.0__692fbea5521e1304/crystaldecisions.shared.dll

------------ ----------------------------

CrystalDecisions.CrystalReports.Engine

  ;  汇编版本:9.1.5000.0

    Win32版本:9.1.9800.23

    CodeBase:file:/// c:/windows/assembly/gac/crystaldecisions.crystalreports.engine/9.1.5000.0__692fbea5521e1304/crystaldecisions.crystalreports.engine.dll

-------- --------------------------------
$


** ************ JIT调试**************

要启用及时(JIT)调试,配置文件为这个
应用程序或机器(machine.config)必须在system.windows.forms部分设置

jitDebugging值。

应用程序还必须使用调试编译以启用


$
例如:

$
<配置>

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



启用JIT调试后,任何未处理的异常

将被发送到机器上注册的JIT调试器

而不是被这个对话框处理。



我正在使用vb.net 2003和Crystal报告8.5。

解决方案

您可能想尝试像这样的Crystal报告论坛一个
http:// scn .sap.com /小区/晶体的报告换视觉工作室/内容?filterID =内容〜OBJECTTYPE〜OBJECTTYPE [线索
]

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.

解决方案

You may want to try a Crystal reports forum like this one http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]


这篇关于找不到Windows应用程序错误CrystalCodeLib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆