Solved

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

Posted on 2006-06-20
3
3,076 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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