Skip to Content
Former Member
Aug 11, 2011 at 08:02 PM

Crystal report doesnt work in client`s pc


Hi! I have created my program inC# (visual studio 2010). However after making program I have created setup file of my program. However when I install my program there in my client`s pc everything works fine but crystal report doesn't work. When I try to show reports there in crystalreportviewer it shows me long error message which says:

See the end of this message for details on invoking

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

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

System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

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 HotelReservation.MostReqGmsRprt..ctor()

at HotelReservation.MostGmsRqstdForm..ctor()

at HotelReservation.MainForm.tsmiGmsReq_Click(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

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

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.ToolStripDropDown.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.ToolStripDropDown.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 **************


Assembly Version:

Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll



I install crystarl report runtime & do't know where is the problem.

I seeach via google to find solution to this error, but do't find anything, So would you please tell me how should I solve this problem? I have to solve this problem as early as possible else my client will be disappointed. Please help me.