A while back we contracted a developer to create a .Net application to display Crystal Reports in a Dot Net Nuke (DNN) portal. The module was written in Visual Studio and uses the CR Runtime_12_0_mlb.msi.
The client is running Windows Server 2008 R2 Enterprise, with IIS 7 and CR 2008 is installed on the server.
Recently an IT technician upgraded CR 2008 to CR2008 SP3 as a pre-requisite for Prolog Converge. The upgrade broke the existing Crystal Viewer module. Although the page was displayed in IE the report was blank and the toolbar in the Crystal Viewer did not display with the exception of the Export icon which appeared in the middle of the pane. Why does an application developed with an older version of a runtime no longer function with a new release?
The client subsequently decided they were no longer interested in Converge and uninstalled CR2008 SP3, deleted the Business Objects directory and all its contents and reinstalled CR2008 (v 12.0.0.549). However the module continues to be be broken and will not display the Crystal Viewer and the report data. The error displayed in the event viewer from DNN is detailed below.
Now I am tasked with trying to restore the system to its previous state. The client does not want to upgrade CR2008 to SP3 and update the Crystal Viewer module in DNN to the new runtime. I have tried to uninstall CR 2008 using add/remove programs in the control panel and re-install but the module remains broken with the same error message. I have also tried to uninstall CR2008 and just install the CRRuntime_12_0_mlb.msi but receive an error message saying another version of this product is already installed when I try and execute the msi.
I was also wondering whether the "document not opened error " could be related to a permissions issue? I would appreciate any help in this matter. Many thanks.
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider,
DotNetNuke.SqlDataProvider
ExceptionGUID:
f38dc7a8-a280-4179-99c1-e90d4930249a
InnerException: The document has
not been opened.
FileName:
FileLineNumber:
0
FileColumnNumber: 0
Method:
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.set_ProductLocaleID
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The
document has not been opened. --->
System.Runtime.InteropServices.COMException (0x8004180B): The document has not
been opened. at
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.set_ProductLocaleID(CeLocale
pVal) at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc() at
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor() at
CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize() at
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() at
BCS.Modules.CrystalViewer.ViewCrystalViewer.ConfigureCrystalReport() --- End of
inner exception stack trace ---