in reply to Combining ODBC & CGI

It looks as if the $db object didn't get defined. Try a die statement on the fourth line: $db = new Win32::ODBC("LIB") || die "Can't get db handle: $!"; Could be a permissions issue. (Then again, I don't use IIS and databases together.)

Replies are listed 'Best First'.
Thanks! You're right
by Stu (Initiate) on Feb 03, 2000 at 03:11 UTC
    Doh! Silly me. Yes, it is a permissions issue. Works fine now. Thanks for your help.