Hi all!
Since Npgsql RC1, we started to receive some error reports about problems when closing connections. The typical stack trace looked like this:
System.NotSupportedException : This stream does not support seek operations.
at System.Net.Sockets.NetworkStream.Seek(Int64 offset, SeekOrigin origin)
at System.IO.BufferedStream.FlushRead()
at System.IO.BufferedStream.WriteByte(Byte value)
−
at Npgsql.NpgsqlQuery.WriteToStream(Stream outputStream) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlQuery.cs:line 62
−
at Npgsql.NpgsqlReadyState.QueryEnum(NpgsqlConnector context, NpgsqlCommand command) in
C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlReadyState.cs:line 64
−
at Npgsql.NpgsqlConnector.ReleasePlansPortals() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnector.cs:line 373
−
at Npgsql.NpgsqlConnectorPool.UngetPooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector)
in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 541
−
at Npgsql.NpgsqlConnectorPool.ReleasePooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector) in
C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 284
−
at Npgsql.NpgsqlConnection.Close() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnection.cs:line 584
−
at System.Net.Sockets.NetworkStream.Seek(Int64 offset, SeekOrigin origin)
−
at Npgsql.NpgsqlQuery.WriteToStream(Stream outputStream) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlQuery.cs:line 62
−
at Npgsql.NpgsqlReadyState.QueryEnum(NpgsqlConnector context, NpgsqlCommand command) in
C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlReadyState.cs:line 64
−
at Npgsql.NpgsqlConnector.ReleasePlansPortals() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnector.cs:line 373
−
at Npgsql.NpgsqlConnectorPool.UngetPooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector)
in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 541
−
at Npgsql.NpgsqlConnectorPool.ReleasePooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector) in
C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 284
−
at Npgsql.NpgsqlConnection.Close() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnection.cs:line 584
−
This seems to be caused by some out of sync problem with Npgsql. I proposed a solution in our bug tracking about this problem.
Please, give it a try and let me know if it solves the problem.
Thanks in advance.
Comments
Metal Badges
Printing Badges
Lapel Pins Manufacturer
Cuff Links
Metal Badges
Bottle Openers
Medals
key chains
trading pin
Flag Lapel Pins
Police Badge
Coin
wristbands wholesale
Disney Pins Wholesale
mouse pads manufacturer
mouse pads
Lapel Pins Manufacturer
Lapel Pins
Disney Pins Wholesale
Disney Pins Wholesale
电脑外设
电脑周边
电脑周边批发
电脑外设批发
电脑配件批发
摄像头批发
U盘批发
鼠标批发
mp3mp4批发
饰品批发
水晶饰品批发
小饰品批发
韩国饰品批发
925银饰
情侣饰品批发
银饰批发
925银饰批发
流行饰品批发
珠宝首饰批发
泰银批发
小商品批发
饰品免费代销
友情链接
作文
笑话