tuortoam

tuortoam

  • NA
  • 12
  • 0

Crystal Reports Deployment

Dec 2 2003 10:39 AM
Hi... I am using the report control in one of my forms.... The compiled application works fine on my development PC, but when I try to deploy to a new unit, that has the .net framework installed on it, the form that owns the control generates an error (see below) It looks like I am not deploying some required files (the report file is present, and in the correct location) Does anything need to be added to the assembly, or final setup on a target pc, for the reports to work? Thanks, -Ant ---------- ************** 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 PocketCoach_Writer.reportViewerForm.InitializeComponent() at PocketCoach_Writer.reportViewerForm..ctor() at PocketCoach_Writer.reporterForm.button1_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:\Documents and Settings\atuorto\Desktop\Desktop Coach\ LOG: Initial PrivatePath = NULL Calling assembly : PocketCoach Writer, Version=1.0.1431.1208, Culture=neutral, PublicKeyToken=null. === LOG: Publisher policy file is not found. LOG: Host configuration file not found. LOG: Using machine configuration file from C:\WINNT\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:/Documents and Settings/atuorto/Desktop/Desktop Coach/CrystalDecisions.Windows.Forms.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/atuorto/Desktop/Desktop Coach/CrystalDecisions.Windows.Forms/CrystalDecisions.Windows.Forms.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/atuorto/Desktop/Desktop Coach/CrystalDecisions.Windows.Forms.EXE. LOG: Attempting download of new URL file:///C:/Documents and Settings/atuorto/Desktop/Desktop Coach/CrystalDecisions.Windows.Forms/CrystalDecisions.Windows.Forms.EXE.

Answers (3)