Newbie question. I'm trying to write a c# class that can run a Crystal Report and save the result as a PDF file. My method currently only contains one line, which it is failing on:
ReportDocument reportDocument = new ReportDocument();
My "using" list contains:
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
I've installed two NuGet packages, CrystalDecisions.CrystalReports.Engine and CrystalDecisions.Shared. I'm just trying to follow some examples I've found from web surfing, and it seems that the examples I'm looking at always include these two packages.
The error I'm receiving on the ReportDocument instantiation above is:
"Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'. The system cannot find the file specified."
I suspect there's something obvious I'm missing that hasn't been installed. I do have Crystal Reports 2011, SAP Crystal Reports runtime engine for .NET Framework (32-bit), and Crystal Reports 2008 Runtime SP2 installed on my machine. I'm new to a lot of this and am not having much success finding the help I'm looking for.
Help is greatly appreciated. Thank you!