Re: connecting to MSSQL 2005

Jeremy Kister <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On 9/8/2008 8:14 AM, James K. Lowden wrote:
> Evidently your server expects something other than what FreeTDS is
> providing; that's why SQL Servers normally abruptly drop connections.  It
> would take some reverse engineering to figure out why.  Are you in a
> position to provide TCP dumps of a working connection?  

sure can.  i can also give you a login to the mssql2008 server, if you'd
like -- email me privately if so.

do you want dumps of a working 7.0 connection from freetds-0.82 or do you 
want dumps of a working 8.0 connection from freetds-0.63 ?  I can provide 
either.



> Sorry, patch?  Maybe I missed it?  

yeah, ends up most of the patch was already in post 82, but
include/cspublic.h is still not quite right..
--- freetds-0.82/include/cspublic.h.orig        2008-09-08
09:53:21.231602000 -0400
+++ freetds-0.82/include/cspublic.h     2008-09-08 09:53:28.671624000 -0400
@@ -446,7 +446,7 @@
   #define CS_VERSION_150 15000

   #define BLK_VERSION_100 CS_VERSION_100
-#define BLK_VERSION_110 CS_VERSION_100
+#define BLK_VERSION_110 CS_VERSION_110
   #define BLK_VERSION_120 CS_VERSION_120
   #define BLK_VERSION_125 CS_VERSION_125
   #define BLK_VERSION_150 CS_VERSION_150


-- 

Jeremy Kister
http://jeremy.kister.net./
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.