Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-12-31
7
Medium Priority
?
5,796 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
[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
  • 2
7 Comments
 
LVL 101

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 2000 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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 101

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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

597 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