Link to home
Start Free TrialLog in
Avatar of printmedia
printmedia

asked on

Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version = 13.0' in Visual Studio 2010

Hi all.

I created a windows form in Visual Studio 2010 and I'm trying to run it on an end user XP workstation. The windows form has a Crystal Report that the end user can look at. I'm getting an error (I have attached a print screen), I'm thinking I need to install some kind of runtime engine but when I look online there are so many to choose from I don't know which one.

Any help would be appreciated.

Thank you in advance.
Print-Screen.bmp
Avatar of Jayaraja Jayaraman
Jayaraja Jayaraman
Flag of United States of America image

Are you using any crystal reports in ur win forms ? if not remove the references from the project and remove the includes in the files. and then build it and run...

if yes you are uisng crystal reports?

You need to install crystal reports for visual studio runtime:
http://scn.sap.com/docs/DOC-27917
http://www.xmarks.com/site/resources.businessobjects.com/support/additional_downloads/runtime.asp
Ref:13Shadow
SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of printmedia
printmedia

ASKER

Ok. I downloaded the msi for 13.0.2.x and ran the setup on the end user workstation.

Now I get the attached print screen error.

I also noticed when I go to the path: C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\

I only see 1 DLL file: CrystalDecisions.Data.AdoDotNetInterop.dll

I thought there would me more dll files (like the CrystalDecisions.Windows.Forms.dll, just a thought.
Error-2.bmp
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That was it. It needed to be the latest version of the runtime engine.

Thanks!