Solved

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

Posted on 2013-12-31
7
5,368 Views
Last Modified: 2014-01-01
I have deployed my visual studio 2005 project to IIS 7.5 on 64 bit windows Server2008 R2. Unfortunately, I’m getting a crystal report error as given below. I have installed CRRedist2005_x86.msi on the server. But the same deployment is working on IIS 7.0 on windows Server2008 version.

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

Can anyone help?
0
Comment
Question by:AlanFrazer
  • 4
  • 2
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 39748298
Are you running the app is 32-bit mode?

Did you install the 32-bit database drivers?

mlmcc
0
 

Author Comment

by:AlanFrazer
ID: 39748352
I deployed the application with "Any CPU" Platform mode. Yes i have installed SQL server2008 R2. version is below.

Microsoft SQL Server Management Studio 10.50.1600.1
Microsoft Analysis Services Client Tools      10.50.1600.1
Microsoft Data Access Components (MDAC)       6.0.6002.18005
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.0.8112.16421
Microsoft .NET Framework 2.0.50727.4241
Operating System 6.0.6002
0
 
LVL 18

Accepted Solution

by:
vasto earned 500 total points
ID: 39748401
You installed the 32 bit runtime . You need to install the one for 64 bits instead -  CRRedist2005_x64.msi  ( I am not sure about the exact name)
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:AlanFrazer
ID: 39748698
thank you for your valid instructions. I have Installed CRRedist2005_x64.msi and working now.
0
 

Author Comment

by:AlanFrazer
ID: 39749826
I've requested that this question be closed as follows:

Accepted answer: 0 points for AlanFrazer's comment #a39748698

for the following reason:

crystal report was not working and it is now by installing CRRedist2005_x64.msi.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39748816
I believe vasto gave you the answer.

mlmcc
0
 

Author Closing Comment

by:AlanFrazer
ID: 39749827
Reports are running now.  Thank you
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

Suggested Solutions

Title # Comments Views Activity
Office 365 and use on Terminal Server - Licenses 2 68
Calculation - Mini/Max Removed then average 8 29
Windows ICD FFU Issue 4 60
Please explain purpose of GZIP 4 34
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

840 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