Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Win32::ODBC / IIS -- M$ SQL Server 7 on separate machine

by gregorovius (Friar)
on Oct 27, 2000 at 02:10 UTC ( [id://38740]=note: print w/replies, xml ) Need Help??


in reply to Win32::ODBC / IIS -- M$ SQL Server 7 on separate machine

I have a very similar setting but I use DBD::ODBC instead. Do you define an ODBC source in the control panel of your web server box? This is my connect line:
$dbh = DBI->connect('DBI:ODBC:odbcSourceName', 'username', 'password') + || die $dbh->errstr;
I would recommend that you switch to DBI. Installing DBI and DBD::ODBC is a snap from ppm. Using DBI instead of Win32::ODBC has the advantage of being more portable.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://38740]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found