Thread: PostgreSQL: A command is already in progress in .NET Windows application

PostgreSQL: A command is already in progress in .NET Windows application

From
Chaturbhuj Bhanvarlal Dayma
Date:

Hi All,

 

PostgreSQL: A command is already in progress in .NET Windows application.

 

We have a windows .net application. This application is supported by SQL and Oracle currently.

 

To support the application in PostgreSQL (11), We have used Npgsql as a data provider for .NET . We are getting below issue for multiple forms abruptly. We are using single connection throughout the application for SQL using MARS (Multiple Active Result Sets).

 

Please provide us any pointer – It would be helpful for us.

 


Regards,

Chatur

Attachment

Re: PostgreSQL: A command is already in progress in .NET Windows application

From
Julien Rouhaud
Date:
On Mon, Jun 28, 2021 at 11:34 PM Chaturbhuj Bhanvarlal Dayma
<CDayma@sensiaglobal.com> wrote:
>
> PostgreSQL: A command is already in progress in .NET Windows application.
>
> We have a windows .net application. This application is supported by SQL and Oracle currently.
>
> Please provide us any pointer – It would be helpful for us.

You should probably ask on the npgsql repository, as that's where the
error is coming from.  You could check if
https://github.com/npgsql/efcore.pg/issues/284 is of any use before
opening a new issue.