locked
Could not load file or assembly 'CrystalDecisions.Windows.Forms

    Question

  • I have an application built in VS2005, written in C#. I have deployed the application to 30 or 40 users and most have no problem, however I have had two users recently report an error message when opening the form I use for printing which uses an embedded report document. I went through the whole merge module problem several months ago, so I know that Crystal Reports is being deployed properly. I recently upgraded the client which is when this problem was first reported, however there were no changes to the form that uses the Crystal Reports component. The problem also seems to be intermittent. The first user to report the problem, unsinstalled, reinstalled and then restarted, and the problem went away. The second user was using the new client for two days before the problem occured. I instructed her to uninstall, reinstall and reboot and I am awaiting the results. I'm wondering if anyone else ever experienced this problem, and why it might work fine for two days and then stop. I am pasting the full details from the stack trace below... thanks

    One other thing, I did notice that the application is trying to load version 10.2.3600.0, but the version in C:\Program Files\Common Files\Business Objects\2.7\Managed is 10.2.51014.0
    This is the same for installations that have no problem.

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

    File name: 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

    at ED5DeploymentApp.PrintWorkOrdersForm.InitializeComponent()

    at ED5DeploymentApp.PrintWorkOrdersForm..ctor(UserBO _user, Int32 _woNum)

    at ED5DeploymentApp.WorkOrderDetailsForm.printBtn_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)

    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: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

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

    ED5DeploymentApp

    Assembly Version: 1.0.1.1

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Program%20Files/ED5DeploymentDB/ED5DeploymentApp.exe

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

    System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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

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

    System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

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

    System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

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

    ED5DeploymentBO

    Assembly Version: 1.0.1.1

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Program%20Files/ED5DeploymentDB/ED5DeploymentBO.DLL

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

    C1.Win.C1Schedule.2

    Assembly Version: 2.0.20082.71

    Win32 Version: 2.0.20082.71

    CodeBase: file:///C:/Program%20Files/ED5DeploymentDB/C1.Win.C1Schedule.2.DLL

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

    C1.Win.C1TrueDBGrid.2

    Assembly Version: 2.0.20082.61142

    Win32 Version: 2.0.20082.61142

    CodeBase: file:///C:/Program%20Files/ED5DeploymentDB/C1.Win.C1TrueDBGrid.2.DLL

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

    System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

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

    System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

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

    System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

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

    Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

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

    System.Transactions

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/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:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

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

    C1.Win.C1InputPanel.2

    Assembly Version: 2.0.20082.34

    Win32 Version: 2.0.20082.34

    CodeBase: file:///C:/Program%20Files/ED5DeploymentDB/C1.Win.C1InputPanel.2.DLL

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

    System.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

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

    Thursday, March 12, 2009 8:51 PM

All replies