Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

OK, I'm 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? It's very frustrating as I have spent about the last 4 weeks getting the damn program to work only to be foiled by deployment!

 

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...