Fast Report runtime error
Hi,
I developed small application with Fast Report.net (latest build) I connect to the DB using FastReport Postgres Dll, everything was working fine on my machine.
When I tried to install the application on fresh new machine, I got this error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
FastReport.Utils.ClassException: Can't find object PostgresDataConnection
at FastReport.Utils.FRReader.Read()
at FastReport.Base.DeserializeSubItems(FRReader reader)
at FastReport.Base.Deserialize(FRReader reader)
at FastReport.Data.Dictionary.Deserialize(FRReader reader)
at FastReport.Utils.FRReader.Read(IFRSerializable obj)
at FastReport.Base.Deserialize(FRReader reader)
at FastReport.Report.Deserialize(FRReader reader)
at FastReport.Utils.FRReader.Read(IFRSerializable obj)
at FastReport.Report.Load(Stream stream)
at FastReport.Report.Load(String fileName)
at _CXCallLogsReporter.CrystalFilter.CrystalFilter_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(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)
*****
Do I need to distubite any other dll or component with the Fast Report dlls.
What about the FastReport.Postgres.dll file, do I have to destrebuite it as well.
Thanks
I developed small application with Fast Report.net (latest build) I connect to the DB using FastReport Postgres Dll, everything was working fine on my machine.
When I tried to install the application on fresh new machine, I got this error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
FastReport.Utils.ClassException: Can't find object PostgresDataConnection
at FastReport.Utils.FRReader.Read()
at FastReport.Base.DeserializeSubItems(FRReader reader)
at FastReport.Base.Deserialize(FRReader reader)
at FastReport.Data.Dictionary.Deserialize(FRReader reader)
at FastReport.Utils.FRReader.Read(IFRSerializable obj)
at FastReport.Base.Deserialize(FRReader reader)
at FastReport.Report.Deserialize(FRReader reader)
at FastReport.Utils.FRReader.Read(IFRSerializable obj)
at FastReport.Report.Load(Stream stream)
at FastReport.Report.Load(String fileName)
at _CXCallLogsReporter.CrystalFilter.CrystalFilter_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(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)
*****
Do I need to distubite any other dll or component with the Fast Report dlls.
What about the FastReport.Postgres.dll file, do I have to destrebuite it as well.
Thanks
Comments
Sure. You need to put this file together with FastReport.dll.
I did, but still give the same result.
I put FastReport.Postgres.dll in the same folder with FastReport.dll, but still it gives the same error and crach,
Please we need to get this fixed by today, Do I have to build the application in spesific way (I build it as x86)
This is very URGENT
The correct fix for this issue is to include the FastReport.Postgres.dll path in FastReport.config file.
This is the only way Fast Report will get to run Postgres Databse Applications.
Alex, please confirm if this is the right solution.
Thanks,