VS2005 - CrystalReprots R10 using ClickOne

B

Bill Nguyen

I ran into this error using ClickOne to deploy a .NET 2.0 app.
CrystalReports for .NET 2.0 is included in the delployment.
The error indicates that an incorrect version of CrystalReports.Engine DLL
is added to the client GAC.
My question is how to obtain a correct redistributable package of R10 so
that I can automate the delpoyment.

Thanks

Bill

---------



************** Exception Text **************

System.TypeInitializationException: The type initializer for
'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an
exception. ---> System.Runtime.InteropServices.COMException (0x80040154):
Retrieving the COM class factory for component with CLSID
{CF76A644-314B-404D-8D45-F08B51FF990B} failed due to the following error:
80040154.

at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()

--- End of inner exception stack trace ---

at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

at GSIC_2005.frmCRDisplay.doNewReports(String rptName, String rptSelect,
String rptParam0, String rptTitle, Int32 prMode, String printName, Int32
printCopies)

at GSIC_2005.frmGSICStationPerformance.btnPrint_Click(Object sender,
EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)





************** Loaded Assemblies **************

mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

GSIC_2005

Assembly Version: 0.0.0.0

Win32 Version: 0.0.0.0

CodeBase:
file:///C:/Documents%20and%20Settings/jamesm/Local%20Settings/Apps/2.0/YB1QOY57.0TX/R5QC3ZV2.BO4/gsic..tion_e2c792029ba34e9b_0001.0000_d1ba16fadb9a8ad9/GSIC_2005.exe

----------------------------------------

Microsoft.VisualBasic

Assembly Version: 8.0.0.0

Win32 Version: 8.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Runtime.Remoting

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

----------------------------------------

System.Data

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Transactions

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll

----------------------------------------

System.EnterpriseServices

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

----------------------------------------

CrystalDecisions.CrystalReports.Engine

Assembly Version: 10.0.3300.0

Win32 Version: 10.0.9500.20

CodeBase:
file:///C:/Documents%20and%20Settings/jamesm/Local%20Settings/Apps/2.0/YB1QOY57.0TX/R5QC3ZV2.BO4/gsic..tion_e2c792029ba34e9b_0001.0000_d1ba16fadb9a8ad9/CrystalDecisions.CrystalReports.Engine.DLL

----------------------------------------

CrystalDecisions.Shared

Assembly Version: 10.0.3300.0

Win32 Version: 10.0.9500.28

CodeBase:
file:///C:/Documents%20and%20Settings/jamesm/Local%20Settings/Apps/2.0/YB1QOY57.0TX/R5QC3ZV2.BO4/gsic..tion_e2c792029ba34e9b_0001.0000_d1ba16fadb9a8ad9/CrystalDecisions.Shared.DLL

----------------------------------------

CrystalDecisions.Windows.Forms

Assembly Version: 10.0.3300.0

Win32 Version: 10.0.9500.23

CodeBase:
file:///C:/Documents%20and%20Settings/jamesm/Local%20Settings/Apps/2.0/YB1QOY57.0TX/R5QC3ZV2.BO4/gsic..tion_e2c792029ba34e9b_0001.0000_d1ba16fadb9a8ad9/CrystalDecisions.Windows.Forms.DLL

----------------------------------------

CrystalDecisions.ReportSource

Assembly Version: 10.0.3300.0

Win32 Version: 10.0.9500.0

CodeBase:
file:///C:/Documents%20and%20Settings/jamesm/Local%20Settings/Apps/2.0/YB1QOY57.0TX/R5QC3ZV2.BO4/gsic..tion_e2c792029ba34e9b_0001.0000_d1ba16fadb9a8ad9/CrystalDecisions.ReportSource.DLL

----------------------------------------

System.Web

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.42 (RTM.050727-4200)

CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll

----------------------------------------

CrystalDecisions.ReportAppServer.CommLayer

Assembly Version: 10.0.3300.0

Win32 Version: 10.0.9500.19

CodeBase:
file:///C:/Documents%20and%20Settings/jamesm/Local%20Settings/Apps/2.0/YB1QOY57.0TX/R5QC3ZV2.BO4/gsic..tion_e2c792029ba34e9b_0001.0000_d1ba16fadb9a8ad9/CrystalDecisions.ReportAppServer.CommLayer.DLL

----------------------------------------



************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.



For example:



<configuration>

<system.windows.forms jitDebugging="true" />

</configuration>



When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top