Reputation: 49
Crystal report viewer throws Runtime Error in hosting environment while it was working well with visual studio.
How can I solve this problem?
Upvotes: 0
Views: 339
Reputation: 1304
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.
Upvotes: 1