
Here's what we are running: MySQL 5.6.20, MySQL ODBC 5.3 ANSI Driver and asp.net 4.0 and crystal report 13.0.12 64 bit, windows server 2008 R2 64 bit but the system DSN is 64 bit DSN. ReportDocument subDocument = subReport.OpenSubreport(subReport.SubreportName) įoreach (Table table in ) Var subReport = (SubreportObject)reportObject The Visual Studio application references: - CrystalDecisions.ReportSource CrystalDecisions. I can display the reports at runtime/design time without any problems. If that works keep adding to it by importing a report and running it.

Try creating a new console project, and CrystalReports.Engine dll and instantiate a new ReportDocument object. If (reportObject.Kind = ReportObjectKind.SubreportObject) on my development PC and can build/run the application. There is a 32-bit and a 64-bit version of the installer, I was saying to make sure you got the right one for your machine. In each section we need to loop through all the reporting objectsįoreach (ReportObject reportObject in section.ReportObjects) The installation guide can be found on the help portal page: SAP Crystal Reports, Developer Version for Microsoft Visual Studio. For all available Support Pack downloads, please visit this software downloads page. Now loop through all the sections and its objects to do the same for the subreportsįoreach (Section section in _) Download the most recent Support Pack for Crystal Reports for Visual Studio here: SAP Crystal Reports, version for Visual Studio.

went as far as going through each table and disposing the object and closing connections on the main and subreports. search the net, found some suggestions about closing the report document will release the connection, but whatever I try don't seem to work. when export the report to pdf the connection is not release to MySQL server.
