Unexpected Server Response

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
tomcat2001
Posts: 21
Joined: Wed 10 Sep 2008 20:29

Unexpected Server Response

Post by tomcat2001 » Tue 14 Apr 2009 19:10

Our application will sometimes get the error of Unexpected Server Response and we don't know what that comes from. Can somebody help us with that in what to tell customers. Here some extra information we have.

Error Message

Message=Unexpected server response.
Severity=1 (0x1)
Position=0 (0x0)
LineNumber=0 (0x0)
ErrorCode=-2147467259 (0x80004005)


Stack Trace

at Devart.Data.PostgreSql.PgSqlDataReader.e(Int32 A_0)
at Devart.Data.PostgreSql.PgSqlCommand.a(CommandBehavior A_0, IDisposable A_1, Int32 A_2, Int32 A_3)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at Devart.Common.DbScript.ExecuteSqlStatement(SqlStatement sqlStatement)
at Devart.Common.DbScript.b(SqlStatement A_0)
at Devart.Common.DbScript.ExecuteNext(IDataReader& reader)
at Devart.Common.DbScript.Execute()

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 15 Apr 2009 12:03

Could you please provide more details about the problem?
What are the versions of your PostgreSQL server and Devart dotConnect for PostgreSQL?
If possible, please send us ([email protected], subject "PostgreSQL unexpected server response") a small test project or at least a piece of code illustrating the problem.
Also, include the script of the DB objects and the connection string.
One more thing: call stack you have provided seems to be incomplete. If possible, post the call stack of the inner exception, if it is present.

tomcat2001
Posts: 21
Joined: Wed 10 Sep 2008 20:29

Post by tomcat2001 » Wed 15 Apr 2009 13:15

I cannot provide you sample code because I have no way of replicating it. It's random and in many different parts of our codebase. What I want to know is what this error message means.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 16 Apr 2009 08:33

We cannot identify the problem with the information you have provided.
1. Please post here the full call stack when the error occurs.
2. Is there any inner exception? If yes, please give us its message text, and its call stack.
3. Please specify the versions of your dotConnect for PostgreSQL and PostgreSQL server.

Post Reply