Solved

Error is the type initializer for "CrystalDecisions.Crystalreports.Engine.ReportDocument"

Posted on 2006-06-20
3
3,074 Views
Last Modified: 2008-01-09
Hi Experts,

I have developed an ASPX site using Visual Studio 2003 and Crystal Reports X1, which is working fine. But on client machine Visual Studio 2005 is installed and this same application throws exception on each and every report. The Exception is as under.
Error is the type initializer for "CrystalDecisions.Crystalreports.Engine.ReportDocument" threw an Exception
CrystalDecisions.Crystalreports.Engine

I have searched about it and found that it is a problem of license. but didn't come to know that how to resolve it. If anyone knows about it, then Plz share it with me.


Thanks a lot.

0
Comment
Question by:imrancs
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 16941614
You need to use CR XI Release 2 with VS 2005.

http://www.businessobjects.com/products/reporting/crystalreports/compatibility_vs2005.asp

There apparently are enough differences between VS 2003 and 2005 that you need a different version of Crystal.

mlmcc
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question