返回首页

您好!在VB.NET(Visual Studio 2008中),我创建了我的计划。但决策程序后,我已经创建了我的程序的设置文件,通过使用预先安装7.7。作为结果的水晶报表文件(CrystalDecisions.CrystalReports.Engine.dll和CrystalDecisions.Enterprise.Framework.dll和CrystalDecisions.Enterprise.InfoStore.dll和CrystalDecisions.ReportSource.dll和CrystalDecisions.Shared.dll和CrystalDecisions.Windows.Forms。 DLL)被自动添加在我的安装文件。然而,当我安装在我的客户端程序的电脑一切正常,但水晶报表不起作用。当我尝试在ReportViewer报告显示,它为我的错误消息说


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=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

File name: 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

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

 

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

 

   --- End of inner exception stack trace ---

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

   at SUIMT.Admission_Report.butarsr_Click(Object sender, EventArgs e) in D:\Documents and Settings\James\My Documents\SUIMT\SUIMT\SUIMT\Forms\Admission\Admission_Report.vb:line 90

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.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: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

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

SUIMT

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/Program%20Files/IT%20EVOLUTION/SUIMT/SUIMT.exe

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

Microsoft.VisualBasic

    Assembly Version: 8.0.0.0

    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

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

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

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

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

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

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

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

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

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

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

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

System.Runtime.Remoting

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

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

AxInterop.ShockwaveFlashObjects

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/Program%20Files/IT%20EVOLUTION/SUIMT/AxInterop.ShockwaveFlashObjects.DLL

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

Interop.ShockwaveFlashObjects

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///D:/Program%20Files/IT%20EVOLUTION/SUIMT/Interop.ShockwaveFlashObjects.DLL

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

Interop.SpeechLib

    Assembly Version: 5.0.0.0

    Win32 Version: 5.0.0.0

    CodeBase: file:///D:/Program%20Files/IT%20EVOLUTION/SUIMT/Interop.SpeechLib.DLL

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

System.Management

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll

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

Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

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

System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

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

System.Transactions

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll

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

System.EnterpriseServices

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

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

CrystalDecisions.Windows.Forms

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///D:/Program%20Files/IT%20EVOLUTION/SUIMT/CrystalDecisions.Windows.Forms.DLL

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

CrystalDecisions.Shared

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///D:/Program%20Files/IT%20EVOLUTION/SUIMT/CrystalDecisions.Shared.DLL

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

CrystalDecisions.ReportSource

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///D:/Program%20Files/IT%20EVOLUTION/SUIMT/CrystalDecisions.ReportSource.DLL

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

System.Web

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///D:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll

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

CrystalDecisions.CrystalReports.Engine

    Assembly Version: 10.5.3700.0

    Win32 Version: 10.5.0.1943

    CodeBase: file:///D:/Program%20Files/IT%20EVOLUTION/SUIMT/CrystalDecisions.CrystalReports.Engine.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>


所以,请你告诉我,我应该如何摆脱这个问题呢?我要解决这个问题,因为早在其他可能的,我的客户会失望。请帮助我。:kingcoder0110 | | thatraja

回答

评论会员:游客 时间:2012/02/06
igor.gorjanc:重新安装客户端的PC机上的电子结构报告。它为我工作。也检查客户端的机器上安装NET框架:。The.Z

我有同样的问题。
我使用的CrystalReportsViewer。
在我的VS2010,这是工作的罚款。
但是,当我想在客户端启动的观众,我得到这个错误信息(德语SRY):

{C}
翻译:

System.InvalidOperationException: CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" couldn't be located.

我已经安装了的CrystalReports11_5_NET.msm。
安装项目补充所有这些CrystalReports - 。的DLL

你能帮我吗?

的问候,
NET版本The.Z
评论会员:游客 时间:2012/02/06
涂覆西瓦库玛:你得到的错误的基础上,它似乎是一个混合失踪水晶(你可能散发错误的版本)和失踪(目标机器似乎并不有NET4中。)
会员8573861:您的客户端计算机需要一个VS2008的运行时框架。这为我工作。在此我花了整整一天......板真空封合,使这一错误。然后我刚刚安装了这个{A}和它固定的一切。我知道这听起​​来奇怪becose客户端不HAVA Visual Studio中......但这个工作......