无法在客户端计算机中打开Crystal报表 [英] Crystal report not opening in client machine

查看:81
本文介绍了无法在客户端计算机中打开Crystal报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在客户端计算机上打开Crystal报表。

I'm not able to open crystal reports on client machine. Crystal report runtime is installed and .Net framework as well.


以下的错误代码有关调用
的详细信息,请参见此消息的末尾,详细信息如下:实时(JIT)调试,而不是此对话框。

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

            ************** Exception Text **************
            System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
            at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
            --- End of inner exception stack trace ---
            at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
            at HW_Management.Report..ctor()
            at HW_Management.ContainerMDI.reportToolStripMenuItem_Click(Object sender, EventArgs e)
            at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
            at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
            at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
            at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
            at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
            at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
            at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
            at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
            at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
            at System.Windows.Forms.Control.WndProc(Message& m)
            at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
            at System.Windows.Forms.ToolStrip.WndProc(Message& m)
            at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
            at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
            at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
            at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


            ************** Loaded Assemblies **************
            mscorlib
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
            ----------------------------------------
            HW Management
            Assembly Version: 1.0.0.0
            Win32 Version: 1.0.0.0
            CodeBase: file:///C:/Program%20Files/Microsoft/HardwareManagementSystem/HW%20Management.exe
            ----------------------------------------
            System.Windows.Forms
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
            ----------------------------------------
            System
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
            ----------------------------------------
            System.Drawing
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
            ----------------------------------------
            System.Configuration
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
            ----------------------------------------
            System.Core
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
            ----------------------------------------
            System.Xml
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
            ----------------------------------------
            System.Data
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
            ----------------------------------------
            System.Transactions
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
            ----------------------------------------
            System.EnterpriseServices
            Assembly Version: 4.0.0.0
            Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
            ----------------------------------------
            System.Numerics
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1055.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
            ----------------------------------------
            CrystalDecisions.CrystalReports.Engine
            Assembly Version: 13.0.2000.0
            Win32 Version: 13.0.12.1494
            CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/13.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
            ----------------------------------------
            CrystalDecisions.Shared
            Assembly Version: 13.0.2000.0
            Win32 Version: 13.0.12.1494
            CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
            ----------------------------------------

            ************** JIT Debugging **************
            To enable just-in-time (JIT) debugging, the .config file for this
            application or computer (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 computer
            rather than be handled by this dialog box.</pre>


推荐答案

这可能是由于.Net Framework升级所致。
检查aspnet_client并确保您具有与最新.net版本相对应的正确正确文件夹

This could be due to .Net Framework upgrade. Check aspnet_client and make sure you have proper proper folder that corresponds to the lastest .net version

这篇关于无法在客户端计算机中打开Crystal报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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