[Mono-dev] Unknown Packet Type Exception

Jonathan Gagnon jonathan.gagnon at croesus.com
Thu Jan 17 09:28:01 EST 2008


I had the same problem and I just found out a workaround.  This problem
seems to happen only if you call the SqlConnection.Close more than once in a
multithreaded environment.  If you call Dispose instead of Close on the
connection, that should fix the problem.

I will file a bug report since calling Close more than once should not have
any side effects in my opinion.

-----Message d'origine-----
De : mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] De la part de Dustin
Dobervich
Envoyé : Friday, January 11, 2008 1:14 PM
À : mono-devel-list at lists.ximian.com
Objet : [Mono-dev] Unknown Packet Type Exception

I am using mono with sql server 2005 on ubuntu.  I keep getting random
exceptions that say Unknown Packet Type. Then it will list the packet type
number like 0, 122, 254, etc.  I havent been able to find any relevant info
on this. I have read on the mono website that sql
server2005 is not fully compatible. Could this maybe be the issue? Has
anyone ever encountered this before?
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list