thanks but what helped you solve your problem?
Main Topics
Browse All TopicsI just began running my development machine off Vista 64bit OS. I have Crystal Reports XI installed (it's installed in the "Program Files (x86)" folder). I'm developing in .net 3.5 framework. Suddenly when i'm trying to run a page that creates a pdf using crystal reports i'm getting the following error:
The type initializer for 'CrystalDecisions.CrystalR
I've tried installing the crystal reports redistributable X64 msi (because all google searches i did for the error message i was getting was telling me to do so) but it won't install. It gives me the following error:
"Another version of this product is already installed. installation of this version cannot continue. to configure or remove the existing version of this product, use Add/Remove programs on the control panel".
I have no idea what to do at this point. My questions are:
1) Why am i getting the original error (the one about the type initializer throwing an exception"
2) is installing the redistributable the way to fix it?
3) if so, how do i get it to install
4) if not, what do i need to do to fix this problem
tearing my hair out. I always seem to run into one problem or another with Crystal Reports. I need to get this running ASAP so that i can finish the development of this project.
thanks for any help.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
actually, this might sound weird, but it wasn't anything specific in your message. It was the fact that your message influenced me to dig deeper into the problem. What actually ended up fixing it was grabbing the dll's in C:\Program Files (x86)\Business Objects\Common\2.8\managed
Business Accounts
Answer for Membership
by: mrcoolcoderPosted on 2009-04-04 at 11:01:38ID: 24068342
1) Why am i getting the original error (the one about the type initializer throwing an exception"
Make sure your web.config has a reference to the Crystal Reports Engine under assemblies.
2) is installing the redistributable the way to fix it?
No, the redistributable is intended for server that will not need the designer. This is for a production box.
3) if so, how do i get it to install
Only way to install it will be to remove the current installation.
4) if not, what do i need to do to fix this problem
Try downloading all the Service Packs from SAP. There are so many its confusing but there were several bugs that they fix. You can find the location to SAP in the help. Also, there is a strange situation that I encountered one time (I've installed Crystal on 22 production servers and workstations. I had to grant WRITE access to the Temp folder on my system to the ASP.NET user account and the system account.