I have an application that goes way back to vs2003. It covered to vs2005
with no problem, but when I convert it to vs2008 I get the following error
calling a form that uses crystal reports:
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly
'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies.
The system cannot find the file specified.
File name: 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304'
at OrderManager.frmRecord_order.InitializeComponent()
at OrderManager.frmRecord_order..ctor(Int32 intOrderIDIN)
at OrderManager.frmGrid_orders.SelectRecord()
at OrderManager.frmGrid_orders.cmdselect_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.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)
I have deleted the components and references, re-added them and rebuilt the
project. It works on my two machines that have vs2008 loaded on them but not
on any others.
Any ideas?
Any help is greatly appreciated.
Yvonne - 22 Mar 2008 19:41 GMT
> I have an application that goes way back to vs2003. It covered to vs2005
> with no problem, but when I convert it to vs2008 I get the following error
[quoted text clipped - 26 lines]
>
> Any help is greatly appreciated.
Hy Greg,
As far as I can see:
You have to deploy the DLLL for your CrystalReports with your other
binaries.
On your machines with VS2008 they werer installed with the VS, but on
any other machine they are missing,
yvonne
Greg Smith - 24 Mar 2008 14:19 GMT
Thank you for your response Yvonne.
I have tried that, but the only
CrystalDecisions.CrystalReports.Engine.dll on my system is version
10.5.0.1943 and the error calls for 10.5.3700.0.
Any thoughts?
>> I have an application that goes way back to vs2003. It covered to vs2005
>> with no problem, but when I convert it to vs2008 I get the following error
[quoted text clipped - 36 lines]
>
> yvonne
Yvonne - 25 Mar 2008 19:16 GMT
> Thank you for your response Yvonne.
>
[quoted text clipped - 46 lines]
>
> - Zitierten Text anzeigen -
Hy Greg,
If I look at the list of available references in my VS2008 then I see
a DLL version 10.5.3700.0.
I did a full installation of VS2008. Maybe this is an installation
issue? Did you select the Crystal Report component?
yvonne