1 Reply Latest reply: Jun 8, 2012 3:33 PM by Daniel Kelleher RSS

crystal report 8.5 with vb.net 2008

kamlesh suhagiya
Currently Being Moderated

Respected Sir/Medam

 

i am useing Crystall report 8.5 Activatex control  with vb.net 2008  when run my software in windows server 2008 64bit (also windows 7 32bit) following error occure please help me

 

i have already install crystal rport 8.5 in client pc

 

-


See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

                            • Exception Text **************

System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

   at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)

   at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)

   at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)

   at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)

   at System.Windows.Forms.AxHost.CreateInstance()

   at System.Windows.Forms.AxHost.GetOcxCreate()

   at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)

   at System.Windows.Forms.AxHost.CreateHandle()

   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

   at System.Windows.Forms.AxHost.EndInit()

   at ProfessionalTax.FrmReport.InitializeComponent() in F:\kamleshProject\ProfessionalTax\ProfessionalTax\ProfessionalTax\ProfessionalTax\Forms\FrmReport.Designer.vb:line 50

   at ProfessionalTax.FrmReport..ctor()

   at ProfessionalTax.FrmApplicantList1.PrintRep() in F:\kamleshProject\ProfessionalTax\ProfessionalTax\ProfessionalTax\ProfessionalTax\Report\FrmApplicantList1.vb:line 175

   at ProfessionalTax.FrmApplicantList1.mobjBrowser_AfterPrint() in F:\kamleshProject\ProfessionalTax\ProfessionalTax\ProfessionalTax\ProfessionalTax\Report\FrmApplicantList1.vb:line 146

   at mpSqlDMO.ClsBrowser.PrintData()

   at mpSqlDMO.ClsBrowser.mvarToolBar_ItemClicked(Object sender, ToolStripItemClickedEventArgs e)

   at System.Windows.Forms.ToolStrip.OnItemClicked(ToolStripItemClickedEventArgs e)

   at System.Windows.Forms.ToolStrip.HandleItemClick(ToolStripItem dismissingItem)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

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

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

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

   at System.Windows.Forms.ToolStrip.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.4927 (NetFXspW7.050727-4900)

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

-


ProfessionalTax

    Assembly Version: 15.6.2011.0

    Win32 Version: 15.06.2011.0

    CodeBase: file:///F:/test%20all%20operation/proftax/Debug/ProfessionalTax.exe

-


Microsoft.VisualBasic

    Assembly Version: 8.0.0.0

    Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)

    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.4927 (NetFXspW7.050727-4900)

    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.4927 (NetFXspW7.050727-4900)

    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.4927 (NetFXspW7.050727-4900)

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

-


System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

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

-


System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

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

-


System.Runtime.Remoting

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

    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.4927 (NetFXspW7.050727-4900)

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

-


System.Transactions

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

    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.4927 (NetFXspW7.050727-4900)

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

-


C1.Win.C1FlexGrid

    Assembly Version: 2.1.20031.104

    Win32 Version: 2.1.20033.136

    CodeBase: file:///F:/test%20all%20operation/proftax/Debug/C1.Win.C1FlexGrid.DLL

-


C1.Common

    Assembly Version: 1.0.20031.116

    Win32 Version: 1.0.20031.117

    CodeBase: file:///F:/test%20all%20operation/proftax/Debug/C1.Common.DLL

-


mpSqlDMO

    Assembly Version: 2010.3.26.1

    Win32 Version: 01.21.12.2011

    CodeBase: file:///F:/test%20all%20operation/proftax/Debug/mpSqlDMO.DLL

-


AxInterop.Crystal

    Assembly Version: 5.2.0.0

    Win32 Version: 5.2.0.0

    CodeBase: file:///F:/test%20all%20operation/proftax/Debug/AxInterop.Crystal.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.

  • Re: crystal report 8.5 with vb.net 2008
    Daniel Kelleher
    Currently Being Moderated

    Hello Kamlesh,

     

    There is no expectation that the ActiveX viewer (RDC?) from CR8.5 will work in any version of Visual Studio .NET. There is also no expectation that the ActiveX viewer from CR8.5 will work on a machine with a 64 bit operating system.

     

    You're using VS2008. You should migrate to the bundled edition of CR for VS2008 (v10.5), the ReportDocument object, and the .NET Windows form viewer or Web form viewer.

     

    Sincerely,

     

    Dan Kelleher

Actions