۲۹-خرداد-۱۳۸۵, ۱۷:۴۱:۵۹
با سلام به همگي
به مشكلي برخورد كردم و از شما راهنمايي ميخواستم
در رابطه با استفاده گزارش هاي Crystal reports در vb.net ، در هنگام نصب app.win در روي دستگاه كاربر و اجراي گزارش پيمام ذيل را دريافت ميكنم لطفا مرا ياري نماييد. با تشكر از كليه دوستان
************** Exception Text **************
System.TypeInitializationException: The type initializer for
"CrystalDecisions.CrystalReports.Engine.ReportDocument"
threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {CF76A644-314B-404D-8D45-F08B51FF990B} is either not valid or not registered.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
at Rtahnew..ctor()
at FrmGhozaresh..ctor(String cShobe)
at BNKM.DynamicMenu.MenuMain.Menu_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
BMT
Assembly Version: 1.0.2348.16659
Win32 Version: 1.0.2348.16659
CodeBase: file:///D:/Program%20Files/BMT/BMT.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
SRB
Assembly Version: 1.0.2348.16139
Win32 Version: 1.0.2348.16139
CodeBase: file:///D:/Program%20Files/BMT/SRB.DLL
----------------------------------------
PCal
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/Program%20Files/BMT/PCal.DLL
----------------------------------------
Common
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/Program%20Files/BMT/Common.DLL
----------------------------------------
BusinessFacade
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/Program%20Files/BMT/BusinessFacade.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///d:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
DataAccess
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/Program%20Files/BMT/DataAccess.DLL
----------------------------------------
System.EnterpriseServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.0
CodeBase: file:///D:/Program%20Files/BMT/CrystalDecisions.CrystalReports.Engine.DLL
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.0
CodeBase: file:///D:/Program%20Files/BMT/CrystalDecisions.Shared.DLL
----------------------------------------
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.0
CodeBase: file:///D:/Program%20Files/BMT/CrystalDecisions.ReportAppServer.CommLayer.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.
به مشكلي برخورد كردم و از شما راهنمايي ميخواستم
در رابطه با استفاده گزارش هاي Crystal reports در vb.net ، در هنگام نصب app.win در روي دستگاه كاربر و اجراي گزارش پيمام ذيل را دريافت ميكنم لطفا مرا ياري نماييد. با تشكر از كليه دوستان
************** Exception Text **************
System.TypeInitializationException: The type initializer for
"CrystalDecisions.CrystalReports.Engine.ReportDocument"
threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {CF76A644-314B-404D-8D45-F08B51FF990B} is either not valid or not registered.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
at Rtahnew..ctor()
at FrmGhozaresh..ctor(String cShobe)
at BNKM.DynamicMenu.MenuMain.Menu_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
BMT
Assembly Version: 1.0.2348.16659
Win32 Version: 1.0.2348.16659
CodeBase: file:///D:/Program%20Files/BMT/BMT.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
SRB
Assembly Version: 1.0.2348.16139
Win32 Version: 1.0.2348.16139
CodeBase: file:///D:/Program%20Files/BMT/SRB.DLL
----------------------------------------
PCal
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/Program%20Files/BMT/PCal.DLL
----------------------------------------
Common
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/Program%20Files/BMT/Common.DLL
----------------------------------------
BusinessFacade
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/Program%20Files/BMT/BusinessFacade.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///d:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
DataAccess
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///D:/Program%20Files/BMT/DataAccess.DLL
----------------------------------------
System.EnterpriseServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///d:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.0
CodeBase: file:///D:/Program%20Files/BMT/CrystalDecisions.CrystalReports.Engine.DLL
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.0
CodeBase: file:///D:/Program%20Files/BMT/CrystalDecisions.Shared.DLL
----------------------------------------
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.0
CodeBase: file:///D:/Program%20Files/BMT/CrystalDecisions.ReportAppServer.CommLayer.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.