Crystal Reports Error: The document has not been opened

on Jul 11, 2018 01:30 AM


 I am working on crystal reports and refered an article below: 

on ReportDocument crystalReport = new ReportDocument(); line showing me an error as "The document has not been opened."

Why ?

Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Jul 11, 2018 04:15 AM

First uninstall the previous Crystal report.

Download Crystal report for VS 2012.

Download Crystal Reports for Visual Studio 2012

Then install it with Run as Administrator because i creates some entries in your registry of windows.

Remember to close VS during installation.

After successful installation you need to change the dlls version in your code.