Skip to Content
0
Former Member
Apr 14, 2010 at 10:33 PM

LoadSaveReportException : CR 10.5 (VS .NET 2008)

60 Views

I am getting the following exception in my web application when trying to display a crystal report.

An error has occurred while attempting to load the Crystal Reports runtime.

Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.

I am On a 64-bit Windows Server2008 Intel Xeon CPU with CRRedist2008_x64 installed. The following is displayed in the Application Event Log.

Exception information:

Exception type: TypeInitializationException

Exception message: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

Request information:

Request URL: https:// ??????????? /Reporting/RunReport.aspx

Request path: /Reporting/RunReport.aspx

User host address: ??????

User: admin

Is authenticated: True

Authentication Type: Forms

Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:

Thread ID: 6

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

at Sonic.Rrs.MvcWeb.Reporting.RunReport.BindReport()

at Sonic.Rrs.MvcWeb.Reporting.RunReport.Page_Init(Object sender, EventArgs e)

at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

at System.Web.UI.Control.OnInit(EventArgs e)

at System.Web.UI.Page.OnInit(EventArgs e)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

None of the posts I have found in the forums seem to apply, though I have tried several. I tried targeting x86 but the exception was still encountered. Any help would be appreciated.