Skip to Content
avatar image
Former Member

crpe32.dll failing to load

I am receiving an error on the production computers that I am installing my windows app on

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.

Funny though that on a virtual machine that I am installing it on with a ghosted image of the failing computers, I am not getting this error.

Should I have the user restart their PC before loading the app

Any help would be appreaciated.

Edited by: mcontri on Apr 15, 2011 10:00 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 15, 2011 at 08:19 PM

    Taken together with your previous thread:

    [Load report failed - document cannot be opened in the c++ stack|;

    you've got some pretty weird stuff going on there. Rebooting the computer should not be neccessary, but certainly will not hurt.

    - Ludek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Don Williams

      Hi Don,

      I was getting the crpe32.dll failing to load exception and I installed the runtime as you suggested. Our application is hosted by IIS .  The error was resolved when our application is hosted on IIS 7.0 (Windows 7).  On Windows Server 2008R2/IIS 7.5 the exception is no longer raised but the session ends and the IIS worker process crashes without any error when we attempt to show Crystal report viewer.  Something tells me this could be some security or IIS configuration issue. Any ideas?

      Dariusz