[Tfug] not a UNIX question

Zack Williams zdwzdw at gmail.com
Thu Sep 30 21:44:59 MST 2010


> When I bring up the Windows command prompt and just run the CGI from the
> "DOS looking command prompt" the CGI works perfectly including the database
> work.
>
> It looks like the CGI is not seeing the ODBC data set definition pointing at
> my database. But isn't that managed by the CGI? If so, why wouldn't it work
> from the server but would work from the command prompt?

In the ODBC control panel, did you create a System or User DSN?

If it's the latter, try the former, as I'm betting Apache/Perl are
running as a user that can't access that DSN you created.

- Zack




More information about the tfug mailing list