Results 1 to 8 of 8

Thread: Missing Crystal Reports DLL

  1. #1
    reyphillip's Avatar
    reyphillip is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Jul 2010
    Posts
    12
    Reputation
    52

    Cool Missing Crystal Reports DLL

    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_Repo rt()
    at Accounting_System_VB.Updatefile.Button1_Click(Obje ct 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(MouseEventAr gs 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.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Can you help me with this one? Thanks.

  2. #2
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    12,837
    Reputation
    1621
    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.

  3. #3
    reyphillip's Avatar
    reyphillip is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Jul 2010
    Posts
    12
    Reputation
    52
    Thanks a lot. Okay I will keep my thread into a single topic. Thanks for the help.

  4. #4
    reyphillip's Avatar
    reyphillip is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Jul 2010
    Posts
    12
    Reputation
    52
    Do you have any idea where can I download that component? or should I just import it in my program?

  5. #5
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    12,837
    Reputation
    1621
    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?

  6. #6
    reyphillip's Avatar
    reyphillip is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Jul 2010
    Posts
    12
    Reputation
    52
    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?

  7. #7
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    12,837
    Reputation
    1621
    So, this is on the same machine that you saw that error message?

  8. #8
    reyphillip's Avatar
    reyphillip is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Jul 2010
    Posts
    12
    Reputation
    52
    yeah, you're right. What should I do to make this work?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking