Crystal Reports Error: The document has not been opened

Last Reply 7 months ago By dharmendr

Posted 7 months ago


 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 ?

You are viewing reply posted by: dharmendr 7 months ago.
Posted 7 months ago

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.