0

Crystal report viewer throws Runtime Error in hosting environment while it was working well with visual studio.

Exception image below here : enter image description here

How can I solve this problem?

Roberto Caboni
  • 7,252
  • 10
  • 25
  • 39

1 Answers1

1

Set customerror mode to off in configuration file:

<customErrors mode="Off"/>

then you would be able to see actual exception. Moreover you can check application log also. Be careful,change customerror once problem is fixed otherwise it will expose sensitive information.

Always_a_learner
  • 1,254
  • 1
  • 8
  • 16
  • after doing thet i got this :- Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack – Ragab Mahmoud May 21 '20 at 11:26
  • 1
    There can be multiple reason for this. plz refer this https://stackoverflow.com/questions/10833894/a-document-processed-by-the-jrc-engine-cannot-be-opened-in-the-c-stack – Always_a_learner May 21 '20 at 16:23