[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1797
  • Last Modified:

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
0
printmedia
Asked:
printmedia
  • 2
  • 2
2 Solutions
 
Jayaraja JayaramanCommented:
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
0
 
mlmccCommented:
You need to install the Crystal runtimes.  There is an msi with the runtimes you can use.

You can find it here.  Be sure to get the one for your SP level

http://scn.sap.com/docs/DOC-7824

mlmcc
0
 
printmediaAuthor Commented:
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
0
 
Jayaraja JayaramanCommented:
On client machine, remove earlier CR runtimes.
Download SP9 MSI (CRforVS_redist_install_32bit_13_0_9) from below link and install on client.
http://scn.sap.com/docs/DOC-7824
0
 
printmediaAuthor Commented:
That was it. It needed to be the latest version of the runtime engine.

Thanks!
1

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now