Unexpected Server Response

Unexpected Server Response

Postby 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()
tomcat2001
 
Posts: 21
Joined: Wed 10 Sep 2008 20:29

Postby 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 (support@devart.com, 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.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby 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.
tomcat2001
 
Posts: 21
Joined: Wed 10 Sep 2008 20:29

Postby 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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL