Or, if that's not the case, chances are that:
        1) the DSN is not a SYSTEM DSN or
        2) the DSN is configured to use X:\foo.mdb and X: is a network drive or
        3) the web server user (if it's running as a service) has no permissions to
\\otherserver\share\foo.mdb

This is, somewhat, documented in the POD documentation that comes with
DBD::ODBC.

Jeff


> -----Original Message-----
> From: Accardo, Glen [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 25, 2002 2:43 PM
> To: 'Mohsen Mahdavi-Hezaveh'; [EMAIL PROTECTED]
> Subject: RE: Using DBI and Perl with Apache on Winows 2000 server.
>
>
>
> The problem is the output of your script.  Either it has some
> error when running under the web server (such as a permissions
> problem that causes the script to abort) or there is a compile-
> time error (module not found or syntax errors, for example).
>
> Try running the script from a DOS prompt, just to see if it works.
> If it does, then look at the apache logs for more details on the
> error.  Chances are, the script won't run from the DOS prompt.
>
> glen
>
>
>
> -----Original Message-----
> From: Mohsen Mahdavi-Hezaveh [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 25, 2002 1:36 PM
> To: [EMAIL PROTECTED]
> Cc: mohsen Mahdavi-Hezaveh
> Subject: Using DBI and Perl with Apache on Winows 2000 server.
>
>
>
> I have installed Perl and DBI module and DBD-ODBC on Windows 2000
> Server with the Apache as the Web Server.  I can run Perl scripts and
> they work fine but when I run them with references to DBI module
> I get the following error.  Is there any extra configuration that I have
> to do for Apache in order to make it run.  My databases are Microsoft
> Access databases.
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and
> was unable
> to complete your request.
>
> Mohsen
>

Reply via email to