Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on 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 a 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?


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.