in reply to Re: IIS-CGI-DBI Errorless Errors in thread IIS-CGI-DBI Errorless Errors
The machine (IIS Environment) should have the DSN defined correctly, as the script works as long as it's not called by the 'web user'. Also, the same DSN is accessable via ASP (though I personally haven't done that). Pardon the slackness and uncleanliness of the snippet of code - I knocked it down to the bare essentials really, and I know that the LOG part works because I do print 'Testing..' to the log prior to the connect call, and immediately attempt to print Good or Bad following that call. The log file ends up containing JUST the "Testing.." line, meaning that the code dies specifically on the connect call. I'm going to try error handling as suggested by one of the other posts here tomorrow, and hopefully that will solve things. Thanks for the input =) -=rev=-
|