Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to Add the right Crystal Reports dlls in a Visual Studio Project

I need crystal reporting dlls for my c# application. First of all I referencedcrystaldecisions.crystalreports.engine , crystaldecisions.shared , crystaldecisions.reportsource ,crystaldecisions.windows.forms but this throwed a badImageException of incompatibility. I tried replacing the dlls with 32-bit files as I am using 32-bit client of Oracle so all Project Settings are set to x86. This did not work too. Now I've installed CRRedist2005_x86.msi it installed some assemblies inC:\Windows\assembly\GAC these are CrystalDecisions.Enterprise.Desktop.Report ,CrystalDecisions.Enterprise.Framework , crystaldecisions.Enterprise.InfoStore ,crystaldecisions.Enterprise.PulginManager,crystaldecisions.Enterprise.Viewing.ReportSource. Should I reference these files instead of the previous ones ? My OS is 8 x 64. I'm using VS 2013 and Oracle 32-bit client. I've faced and resolved some of compatibility issues till now but now I am unable to figure it out. My aim is to load an xml file and show it to the reportviewer programmatically; for this purpose I'm stuffing my head with dll files. Someone please guide me what should I do ?

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question