Npgsql Reset() called on connector with state Fetching Error

Stimulsoft Ultimate discussion
Post Reply
harundemir13
Posts: 23
Joined: Thu Aug 01, 2019 1:22 pm

Npgsql Reset() called on connector with state Fetching Error

Post by harundemir13 » Mon Apr 19, 2021 1:53 pm

Hello,
When I preview the report in designer(v2021.2.2) I get the following error message.

[General Info]
Application: Stimulsoft Reports
Framework: v4.0.30319
Version: Version: 2021.2.2 from 25 March 2021


[Exception Info]
Message: Reset() called on connector with state Fetching

Source: Npgsql

StackTrace:
at Npgsql.NpgsqlConnector.Reset()
at Npgsql.ConnectorPool.Release(NpgsqlConnector connector)
at Npgsql.NpgsqlConnection.Close(Boolean wasBroken)
at Stimulsoft.Report.Dictionary.StiDictionary.DisconnectingConnectionInDataStore(List`1 datas)
at Stimulsoft.Report.Dictionary.StiDictionary.Disconnect()
at Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state)
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Stimulsoft.Report.Design.Controls.StiDesignerPreviewControl.ButtonRefresh_Click(Object sender, EventArgs e)

[Assemblies]
mscorlib, Version = 4.0.0.0
Stimulsoft.Base, Version = 2021.2.2.0
Stimulsoft.Report, Version = 2021.2.2.0
Stimulsoft.Report.Design, Version = 2021.2.2.0
Stimulsoft.Report.Import, Version = 2021.2.2.0
Stimulsoft.Report.Win, Version = 2021.2.2.0
System.Data, Version = 4.0.0.0
System.Windows.Forms, Version = 4.0.0.0
WindowsBase, Version = 4.0.0.0
Lech Kulikowski
Posts: 3592
Joined: Tue Mar 20, 2018 5:34 am

Re: Npgsql Reset() called on connector with state Fetching Error

Post by Lech Kulikowski » Mon Apr 19, 2021 10:05 pm

Hello,

Please check:
https://github.com/npgsql/npgsql/issues/2772

If the issue still present, please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
harundemir13
Posts: 23
Joined: Thu Aug 01, 2019 1:22 pm

Re: Npgsql Reset() called on connector with state Fetching Error

Post by harundemir13 » Tue Apr 20, 2021 10:50 am

Hello,
Thank you for the advice, it worked with numeric value by cast float
Lech Kulikowski
Posts: 3592
Joined: Tue Mar 20, 2018 5:34 am

Re: Npgsql Reset() called on connector with state Fetching Error

Post by Lech Kulikowski » Tue Apr 20, 2021 9:46 pm

Hello,

You are welcome!
Post Reply