IO Exception when querying Clickhouse DB through ODBC

Stimulsoft Reports.NET discussion
Post Reply
brainpostman
Posts: 1
Joined: Mon Oct 20, 2025 8:45 am

IO Exception when querying Clickhouse DB through ODBC

Post by brainpostman »

Greetings.

I have set up a ClickHouse connection through ODBC as described in this thread:
https://forum.stimulsoft.ru/viewtopic.php?t=11839

Connection is successful, however for whatever reason, most queries fail with the following exception:

Code: Select all

System.IO.InvalidDataException: The archive entry was compressed using an unsupported compression method.
   at System.IO.Compression.Inflater.Inflate(FlushCode flushCode)
   at System.IO.Compression.Inflater.ReadInflateOutput(Byte* bufPtr, Int32 length, FlushCode flushCode, Int32& bytesRead)
   at System.IO.Compression.Inflater.ReadOutput(Byte* bufPtr, Int32 length, Int32& bytesRead)
   at System.IO.Compression.Inflater.InflateVerified(Byte* bufPtr, Int32 length)
   at System.IO.Compression.DeflateStream.ReadCore(Span`1 buffer)
   at Stimulsoft.Base.StiGZipHelper.Unpack(Byte[] bytes)
   at Stimulsoft.Report.Web.StiRequestParamsHelper.Get(HttpContext httpContext)
   at Stimulsoft.Report.Mvc.StiNetCoreDesigner.GetRequestParams(HttpContext httpContext)
   at Controllers.ReportsController.DesignerEvent() in /src/Modules/Reports/Controllers/ReportsController.cs:line 346
Some queries succeed and data is loaded.

I am using Version 2023.2.2 from 5 April 2023, .NET 6.0.

Can this be fixed? Is the problem with the Stimulsoft library, .NET or with my compiled driver?
Lech Kulikowski
Posts: 7511
Joined: Tue Mar 20, 2018 5:34 am

Re: IO Exception when querying Clickhouse DB through ODBC

Post by Lech Kulikowski »

Hello,

Please try to use the ClickHouse connection.

Thank you.
Attachments
Screenshot 2025-10-20 224739.png
Screenshot 2025-10-20 224739.png (90.49 KiB) Viewed 1527 times
Post Reply