Deploying a Crystal Reports exporter. Please help!...

TimSeed

New member
Joined
Aug 31, 2004
Messages
1
Hi all,

OK, Im trying to deploy an exe that takes a Crystal Report and exports it as a pdf. It runs fine on my machine but I have the whole Crystal Reports 10 stuff installed and I want to be able to run the exe on a machine that has no interest in Crystal Reports, it just needs the .net framework and whatever relevant crystal modules.

I have written my own project Setup and even setup the regwiz merge modules etc but I still get the following error when I try to run the exe:

Error: The type initializer for "CrystalDecisions.CrystalReports.Engine.ReportDo
cument" threw an exception.

Unhandled Exception: System.TypeInitializationException: The type initializer fo
r "CrystalDecisions.CrystalReports.Engine.ReportDocument" threw an exception. --
-> System.Runtime.InteropServices.COMException (0x80040154)

Can anyone tell me what I am doing wrong? Its very frustrating as I have spent about the last 4 weeks getting the damn program to work only to be foiled by deployment!

Thanks.
 
Back
Top