水晶报表只能在客户端PC中运行 [英] crystal report forms only not run in client pc
问题描述
有关调用
实时(JIT)调试而不是此对话框的详细信息,请参阅此消息的结尾。
**************异常文本**************
System.IO.FileNotFoundException:无法加载文件或程序集'CrystalDecisions.Windows.Forms,Version = 13.0.2000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304'或其依赖项之一。系统找不到指定的文件。
文件名:'CrystalDecisions.Windows.Forms,Version = 13.0.2000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304'
at KNIT .FrmGoodsInward.InitializeComponent()
在KNIT.FrmGoodsInward..ctor()中的D:\ Tamil \KNIT \ KNIT \FrmGoodsInward.cs:第46行
在KNIT.MDIMain.GoodsInward_Click(Object sender,EventArgs e)中的D:\Tamil \KNIT \ KNIT \ MDIaincs:第946行
在System.Windows.Forms.ToolStripItem .RaiseEvent(Object key,EventArgs e)
在System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
在System.Windows.Forms.ToolStripItem.HandleClick( EventArgs e)
在System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
在System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,ToolStripItemEventType met)
在System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,To在System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)上获得
的
在System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)中的
>
在System.Windows.Forms.Control.WmMouseUp(Message& m,MouseButtons按钮,Int32点击)
在System.Windows.Forms.Control.WndProc(消息& m)
在System.Windows.Forms.ScrollableControl.WndProc(消息& m)
在System.Windows.Forms.ToolStrip.WndProc(消息& m)
在System.Windows.Forms.ToolStripDropDown.WndProc(消息& m)
在System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)
WRN:Assembly绑定日志记录已关闭。
要启用程序集绑定失败日志记录,请将注册表值[HKLM \Software\Microsoft \Fusion!EnableLog](DWORD)设置为1.
注意:程序集绑定失败日志记录会导致性能损失。
要关闭此功能,请删除reg istry value [HKLM \Software \ Microsoft /\\\\] $!$ $ $ $ $ $ $ $ $ $ $ *************已装载的装配**************
mscorlib
装配版本:4.0 .0.0
Win32版本:4.0.30319.1(RTMRel.030319-0100)
CodeBase:file:/// C:/Windows/Microsoft.NET/Framework/v4 .0.30319 / mscorlib.dll
------------------------------------ ----
KNIT
汇编版本:1.0.0.0
Win32版本:1.0.0.0
CodeBase :file:/// C:/Users/Knit%20Feeds/Desktop/Knitfeeds-22042014/KNIT.exe
------------------ ----------------------
System.Windows.Forms
汇编版本:4.0.0.0
Win32版本:4.0.30319.1内容:RTMRel
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms /v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
-------------------------- ------ --------
System.Drawing
汇编版本:4.0.0.0
Win32版本:4.0.30319.1建立者: RTMRel
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
系统
汇编版本:4.0.0.0
Win32版本:4.0.30319.1内置:RTMRel
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
---------------- ------------------------
System.Data
汇编版本:4.0.0.0
Win32版本:4.0.30319.1(RTMRel.030319-0100)
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_32/System。数据/ v4.0_4.0.0.0__b77a5c561934e089 / System.Data.dll
--------------------------- -------------
System.Core
汇编版本:4.0.0.0
Win32版本:4.0.30319.1内容:RTMRel
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4 .0_4.0.0.0__b77a5c561934e089 / System.Core.dll
------------------------------ ----------
System.Xml
汇编版本:4.0.0.0
Win32版本:4.0.30319.1已构建作者:RTMRel
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
汇编版本:4.0.0.0
Win32版本:4.0.30319.1(RTMRel.030319-0100)
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----- -----------------------------------
System.Transactions
汇编版本:4.0.0.0
Win32版本:4.0.3 0319.1(RTMRel.030319-0100)
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System。 Transactions.dll
--------------------------------------- -
System.EnterpriseServices
汇编版本:4.0.0.0
Win32版本:4.0.30319.1(RTMRel.030319-0100)
CodeBase:file:/// C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
系统。 Numerics
汇编版本:4.0.0.0
Win32版本:4.0.30319.1内置:RTMRel
CodeBase:file:/// C: /Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
-------------- --------------------------
******** ****** JIT调试**************
启用just-in -time(JIT)调试,此
应用程序或计算机(machine.config)的.config文件必须在system.windows.forms中设置
jitDebugging值部分。
应用程序也必须通过调试编译
启用。
例如:
< configuration>
< system.windows.forms jitdebugging =true>
启用JIT调试后,任何未处理的异常
将被发送到计算机上注册的JIT调试器
而不是而不是由此对话框处理。
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: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
at KNIT.FrmGoodsInward.InitializeComponent()
at KNIT.FrmGoodsInward..ctor() in D:\Tamil\KNIT\KNIT\FrmGoodsInward.cs:line 46
at KNIT.MDIMain.GoodsInward_Click(Object sender, EventArgs e) in D:\Tamil\KNIT\KNIT\MDIMain.cs:line 946
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)
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].
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
KNIT
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Knit%20Feeds/Desktop/Knitfeeds-22042014/KNIT.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
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.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
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.1 (RTMRel.030319-0100)
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.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.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">
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.
推荐答案
您忘记添加与水晶报告或您的配置文件相关的参考文献,或者您忘记安装Crystal Reports运行时框架在客户端机器上
C的web.config示例rystal Reports [ ^ ]
点击此处&有关详细信息,您可以尝试他们的论坛
SAP Crystal Reports,Microsoft Visual Studio的开发人员版本:更新&安培;运行时下载 [ ^ ]
You forgot to add references related to crystal reports or your configuration file missing something or you forgot to install the crystal reports runtime framework on client machine
Sample web.config for Crystal Reports[^]
Check here & for more details you could try their forums
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads[^]
这篇关于水晶报表只能在客户端PC中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!