Crystal Report deployment

Hnieef

Member
Joined
Apr 9, 2004
Messages
5
hai..
i develop application using vb.net and crystal report. and i use odbc as connection ( Sql Server 2000).

when i create setup program everything run smoothly. and i run my application in my server ( My development PC) everything is ok.

when i install in client the program run ok. database .. can save and soo on.
except when i try to view report then the error come in like below:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: File or assembly name CrystalDecisions.Windows.Forms, or one of its dependencies, was not found.
File name: "CrystalDecisions.Windows.Forms"
at SMIS.frmRptByCompany.InitializeComponent()
at SMIS.frmRptByCompany..ctor()
at SMIS.frmReportBuilder.Button2_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.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)

=== Pre-bind state information ===
LOG: DisplayName = CrystalDecisions.Windows.Forms, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
(Fully-specified)
LOG: Appbase = C:\Program Files\Sales n Marketing Setup\
LOG: Initial PrivatePath = NULL
Calling assembly : SMIS, Version=1.0.1560.20819, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.Windows.Forms, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: Attempting download of new URL file:///C:/Program Files/Sales n Marketing Setup/CrystalDecisions.Windows.Forms.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Sales n Marketing Setup/CrystalDecisions.Windows.Forms/CrystalDecisions.Windows.Forms.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Sales n Marketing Setup/CrystalDecisions.Windows.Forms.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Sales n Marketing Setup/CrystalDecisions.Windows.Forms/CrystalDecisions.Windows.Forms.EXE.



************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
SMIS
Assembly Version: 1.0.1560.20819
Win32 Version: 1.0.1560.20819
CodeBase: file:///C:/Program%20Files/Sales%20n%20Marketing%20Setup/SMIS.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/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:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
OutlookBar
Assembly Version: 0.9.4.0
Win32 Version: 0.9.4.0
CodeBase: file:///C:/Program%20Files/Sales%20n%20Marketing%20Setup/OutlookBar.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/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:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.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.


can some one help me. i really stuck on this.
 
i folow the step from that document.except i dont include the stl and crt for ado.net. maybe that the problem. i try again.but i think that no problem with that because i try using access and generate report still same problem appear.
 
Back
Top