Skip to Content.
Sympa Menu

freetds - Problems after installing MS SQLServer 7.0 service pack 3

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Marcio Guedes" <mpguedes AT uol.com.br>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Problems after installing MS SQLServer 7.0 service pack 3
  • Date: Fri, 9 Feb 2001 16:42:15 -0500


I'm running ms sqlserver 7.0 and i have clients running linux RedHat 6
with freetds 0.50 and sybperl 2.13. After installing sql service pack 3,
linux clients stopped to work. Contacting sybperl people, they say to
contact freetds people. My perl program still runs in backup server
without the mssql service pack 3. My interfaces file looks like this:

ctgf_n2
query tcp ether 172.22.10.3 1433
master tcp ether 172.22.10.3 1433
alphaxl
query tcp ether 172.22.10.5 1433

master tcp ether 172.22.10.5 1433

the ctgf_n2 server have sp3 applied and doesnt work, the alphaxl server
doesn't have sp3 and work very well.

my perl program looks like this:

###################################
#!/usr/local/bin/perl -w
use strict;
use Sybase::CTlib;
my $dbh = new Sybase::CTlib 'sa','','ctgf_n2';
my $restype;
my @rows;
$dbh->ct_execute("select * from bobinas..qui_tanques order by tanque");
while($dbh->ct_results($restype) == CS_SUCCEED) {
next unless $dbh->ct_fetchable($restype);
while(@rows = $dbh->ct_fetch) {
print "$rows[0]\n";
}
}
###################

and i get the following message:

Can't call method "ct_execute" on an undefined value at ./sp3.pl line 7.

it's a MS bug or Freetds bug, or both?




  • Problems after installing MS SQLServer 7.0 service pack 3, Marcio Guedes, 02/09/2001

Archive powered by MHonArc 2.6.24.

Top of Page