Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Combining ODBC & CGI

by chromatic (Archbishop)
on Feb 03, 2000 at 02:16 UTC ( #2758=note: print w/ replies, xml ) Need Help??

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.)

Comment on Re: Combining ODBC & CGI
Download Code
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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2016-02-06 04:00 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (215 votes), past polls