Please help
I have a test script that accesses DB2 data via DBI. It works from the command window, but not from IIS
Wondows 2000 Serve
IIS v5.

Following is the error
CGI Erro
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are

Can't load 'D:/Perl/site/lib/auto/DBD/DB2/DB2.dll' for module DBD::DB2: load_file:The specified module could not be found at D:/Perl/lib/DynaLoader.pm line 206
Compilation failed in require at c:\inetpub\wwwroot\dbazone\testdbd.pl line 9
BEGIN failed--compilation aborted at c:\inetpub\wwwroot\dbazone\testdbd.pl line 9

Re: Perl CGI DBD-DB2 by jcochran

jcochran
Wed Feb 11 07:59:16 CST 2004

On Tue, 10 Feb 2004 15:36:08 -0800, "LucianoCastro"
<anonymous@discussions.microsoft.com> wrote:

>Please help,
>I have a test script that accesses DB2 data via DBI. It works from the command window, but not from IIS.
>Wondows 2000 Server
>IIS v5.1
>
>Following is the error:
>CGI Error
>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
>
>
>Can't load 'D:/Perl/site/lib/auto/DBD/DB2/DB2.dll' for module DBD::DB2: load_file:The specified module could not be found at D:/Perl/lib/DynaLoader.pm line 206.
>Compilation failed in require at c:\inetpub\wwwroot\dbazone\testdbd.pl line 9.
>BEGIN failed--compilation aborted at c:\inetpub\wwwroot\dbazone\testdbd.pl line 9.

Try a perl group for the best resource on answering this. The one
plausible connection to IIS is that you run the command line under the
logged in user's ID and permissions, but under the anonymous web
account when using a web page. Check permissions for the IUSR
account.

Jeff