cancel
Showing results for 
Search instead for 
Did you mean: 

CRPE issue still failing

Former Member
0 Kudos
157

My Windows App installer has the Merge Modules (I am using VS2010 with CR13) and I am still recieving CRPE failed to load issue, The file DOES exist in the referenced folder as well.

Here is the error, please help, it should not be this hard to distribute an internal application to other PC's within my department without a server or the internet involved.

System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.CRPE' threw an exception. ---> CrystalDecisions.Shared.CrystalReportsException: Could not load C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crpe32.dll.
   at CrystalDecisions.CrystalReports.Engine.CRPE..cctor()
   --- End of inner exception stack trace ---
   at CrystalDecisions.CrystalReports.Engine.CRPE.CloseCrpe()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.InternalClose(Boolean bSetupForNextReport)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Close()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
   at IPAM_Reporting.frmCrystalReport.frmCrystalReport_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Edited by: mcontri on Apr 25, 2011 11:04 PM

View Entire Topic
saurabh_pathak
Active Contributor
0 Kudos

Hi,

Please provide following:

1) Do you get this error on development machine? If yes, please provide OS, 32 bit or 64 bit.

2) If on production machine; provide OS, 32 bit or 64 bit.

Thanks,

Saurabh

Former Member
0 Kudos

The error is happening on the production machine which is a 32 bit machine. The app is compiled using x86 specs and I am using .Net Framework 4 full version.

0 Kudos

Use ProcessMonitor and look for Access Denied errors and dll's that could not be found/loaded.

Thank you

Don