Missing Crystal Reports DLL

reyphillip

Member
Joined
Jul 27, 2010
Messages
12
Programming Experience
Beginner
Hi. It seems that the Select() event is working very fine. Thanks for the idea. I appreciate it a lot. But another problem has occured, It's about the crystal report that I used for printing. The error is like this:

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

************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
at Accounting_System_VB.Report.InitializeComponent()
at Accounting_System_VB.Report..ctor()

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 Accounting_System_VB.My.MyProject.MyForms.Create__Instance__[T](T Instance)
at Accounting_System_VB.My.MyProject.MyForms.get_Report()
at Accounting_System_VB.Updatefile.Button1_Click(Object sender, EventArgs e)
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)

Can you help me with this one? Thanks. :D
 
Please keep each thread to a single topic and each topic to a single thread. Your post has been split off into a new thread.

When you are presented with an error message, make sure you read it:
The error is: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
You don't have v10.5 of the CR WinForms component(s) installed.
 
I just looked in my own Global Assembly Cache and that file is there, so it must have been installed along with Visual Studio Professional 2008 or 2010. Look in "C:\Windows\assembly" and see what CrystalDecisions DLLs you have there. Do you have any? Do you have that one? Did you install the CR components along with Visual Studio?
 
Yeah, I have these ff. CrystalDecisions DLL version 10.5.3700.0:
CRVsPackageLib
CrystalDecisions.CrystalReports.Design
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Data.AdoDotNetInterop
CrystalDecisions.Enterprise.Desktop.Report
CrystalDecisions.Enterprise.Framework
CrystalDecisions.Enterprise.InfoStore
CrystalDecisions.Enterprise.PluginManager
CrystalDecisions.Enterprise.Viewing.ReportSource
CrystalDecisions.KeyCode
CrystalDecisions.ReportAppServer.ClientDoc
CrystalDecisions.ReportAppServer.CommLayer
CrystalDecisions.ReportAppServer.CommonControls
CrystalDecisions.ReportAppServer.CommonObjectModel
CrystalDecisions.ReportAppServer.Controllers
CrystalDecisions.ReportAppServer.DataDefModel
CrystalDecisions.ReportAppServer.DataSetConversion
CrystalDecisions.ReportAppServer.ObjectFactory
CrystalDecisions.ReportAppServer.ReportDefModel
CrystalDecisions.ReportAppServer.XmlSerialize
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.VSDesigner
CrystalDecisions.Web
CrystalDecisions.Windows.Forms


What should I do with it? Should I just import CrystalDecisions.Windows.Forms in my program?
 
Back
Top