在VS2005中加载Crystal报表时出错 [英] Error in Loading Crystal Report in VS2005

查看:62
本文介绍了在VS2005中加载Crystal报表时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有WinForms(.net 2.0)应用程序,我使用Crystal Reports Viewer。原始应用程序是使用VS2003开发的。现在处于调试模式,我在查看Crystal Reports Viewer时遇到问题。

I have WinForms(.net 2.0) application where Im using the Crystal Reports Viewer.  The Original Application was developed using VS2003. Now in debug mode I have problem viewing the Crystal Reports Viewer.

显示以下错误:"无法加载文件或程序集"CrystalDecisions.Windows.Forms, Version = 9.2.3300.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304'或其依赖项之一。系统找不到指定的文件。"

堆栈跟踪如下:

at CBI.frmRptDisplay.InitializeComponent()
at CBI.frmRptDisplay..ctor()in C:\ CBII \Forms \ frmRptDisplay.vb:line 15
at CBI .frmHomePage.btnGenerateReport_Click(对象发件人,EventArgs e)在C:\CBI\Forms\frmHomePage.vb:线6392,点击在System.Windows.Forms.Control.OnClick(EventArgs的)结果,在系统.Windows.Forms.Button.OnClick(EventArgs e)
System.Windows.Forms.OnMouseUp(MouseEventArgs mevent)

System.Windows.Forms.Control.WmMouseUp(Message& m,MouseButtons button,在System.Windows.Fornd.Button的System.Windows.Fornd.BandtonBase.WndProc(Message& m)上的System.Windows.Forms.Control.WndProc(Message& m)的Int32点击)
.WndProc(Message& m)

System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m )

System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&米)在System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr的的HWND,MSG的Int32,IntPtr的WPARAM,IntPtr的LPARAM)结果,在System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&安培结果; MSG),点击在System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(的Int32 dwComponentID,的Int32原因,的Int32 pvLoopData)在System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(的Int32原因结果, ApplicationContext的情况下),点击在System.Windows.Forms.Application.ThreadContext.RunMessageLoop(的Int32原因,ApplicationContext的情况下),结果在System.Windows.Forms.Application.Run(表格MainForm的)结果在CBI.frmCBILogin。 System中的Main()C:\ CBI \ Forms \ frmCBILogin.vb:第5行

System.AppDomain.nExecuteAssembly(程序集,String [] args)

System.AppDomain.ExecuteAssembly(String assemblyFile) ,证据assemblySecurity,String [] args)
在Microsoft.VisualStudi o.HostingProcess.HostProc.RunUsersAssembly()结果在System.Threading.ThreadHelper.ThreadStart_Context(对象状态)结果在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象的状态),结果在系统.Threading.ThreadHelper.ThreadStart()Stack Trace是:

我是使用VS2005的新手,并不知道如何操作配置到做这个工作。请帮助!!!

提前致谢。

Emeleen

推荐答案

尝试设置.Net框架工作版本1.1

Try To Setup .Net Frame work Version 1.1

如果它有效,请尝试删除 VS 2005,然后安装.Net Frame工作版本1.1首先再安装VS安装VS 2005

If it dosent work , try to remove the VS 2005  , and Setup  .Net Frame work Version 1.1 First and then 
Setup VS 2005   again


这篇关于在VS2005中加载Crystal报表时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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