Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

Posted on 2006-11-09
9
Medium Priority
?
21,417 Views
Last Modified: 2011-08-18
hi I`m working in a windows application on VS 2005 and I made reports using Crystal Reports for Visual Studio 2005

when I deploy the project on XP and print any document it goes so fine

but when I deploy it on windows 2000 it gives me that exception:

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

can somebody tell me what is it
0
Comment
Question by:mohammadalsayeh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 

Author Comment

by:mohammadalsayeh
ID: 17906496
I think the problem is when I deploy it in any other PC even if it uses xp
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 17922898
How are you deploying the application?

Are you using the merge modules?

Are you deploying to each machine or is this web-based?

mlmcc
0
 

Author Comment

by:mohammadalsayeh
ID: 17924710
I`m using merge modules for crystal reports deployment that are auto generated by the vs.net 2005 setup and I`m deploying to each machine
0
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

 
LVL 101

Expert Comment

by:mlmcc
ID: 17930760
I don't have vs 2005 so I am not sure but I wonder if there is a difference inthe assemblies required for XP and 2K?  In the setup does it allow you to specify the target platform?

Is there a difference in the .Net version on the machines?

mlmcc
0
 

Author Comment

by:mohammadalsayeh
ID: 17936466
it is not working under any platform either XP or 2000
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 17945192
It may be in the way you are deploying the application.  Here is a link to explain how to deploy in .Net

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/crystlmn/html/crcondeployingcrystalreportsinnetapplications.asp

mlmcc
0
 

Author Comment

by:mohammadalsayeh
ID: 17945506
I already added these merge modules for the crystal reports but they didn`t function but I downloaded the merge module updates from businessobjects.com that belong to crystal reports for vs.net 2005 and it worked


thanks any way
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 17949236
Glad i could help

mlmcc
0
 

Expert Comment

by:jomartech
ID: 21215678
Try running  C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports\ CRRedist2005_x86.msi

see the following post:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1246805&SiteID=1
 

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

704 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