Skip to Content.
Sympa Menu

freetds - [freetds] TDS Server almost working

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steve Kirkendall <skirkendall AT dsl-only.net>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: [freetds] TDS Server almost working
  • Date: Sun, 25 Apr 2004 16:18:05 -0700

I'm finally trying to use my little SQL server with Crystal Reports.
Current status is, it logs in correctly, and is able to send SELECT
statements to my server. The server parses them, and sends a table
back to Crystal Reports. HOWEVER, Crystal Reports pops up with an
error from ODBC saying "Unknown token received from SQL Server".
Oh, so close!

Can anybody spot any problems in the attached log? This log was
generated on the server, so "received" means client and "sending"
means server. I'll also attach the debugging output from my server.

The SELECT statement is preceded by a stored procedure call, and that
is my prime suspect right now. My server simply sends a 254 packet
("Process Done") whenever it receives any stored procedure call.
If I omit that 254 packet then it still fails, but with a different
error message.

The Windows SQL Server ODBC driver is configured to use TDS4.2. It
uses a 4.2 login packet, and the strings are ASCII, not UCS16.

--
Steve Kirkendall |A:It is confusing, since people don't read that way
kirkenda AT cs.pdx.edu |Q:Why is top-posting bad?
|A:It is adding comments to the top of a message
|Q:What is top-posting?

Attachment: debug.log
Description: Binary data

Attachment: tds.log
Description: Binary data



  • [freetds] TDS Server almost working, Steve Kirkendall, 04/25/2004

Archive powered by MHonArc 2.6.24.

Top of Page