We have installed IIS 5.0 on windows 2000 server. I have index.pl(perlscript) file on that webserver. How to configure IIS 5.0 to work perlscript on web ? Do I need to install perl on that server ?
am trying to get data from MS SQL SERVER on web using perl script.Now, my web server gives me following 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 locate loadable object for module DBI in @INC (@INC contains: D:/Perl/lib D:/Perl/site/lib . c:\InetPub\myttmtech\Admin1) at D:/Perl/site/lib/DBI.pm line 182
BEGIN failed--compilation aborted at D:/Perl/site/lib/DBI.pm line 182.
Compilation failed in require at c:\InetPub\myttmtech\Admin1/ttmtech.pm line 4.
BEGIN failed--compilation aborted at c:\InetPub\myttmtech\Admin1/ttmtech.pm line 4.
Compilation failed in require at C:\inetpub\myttmtech\admin1\index.pl line 6.
BEGIN failed--compilation aborted at C:\inetpub\myttmtech\admin1\index.pl line 6.
What I have to install on web server ? where can I get DBI.PM module ?
search.cpan.org for all your module needs ----------------------------------------------------------------------------------
...but I'm just a C man trying to see the light
The error says that you already have DBI.pm - it is line 182 of that module that is failing. It is, however, incorrectly installed. Did you use a proper installer or just copy the file into place? "As soon as we started programming, we found to our surprise that it wasn't as
easy to get programs right as we had thought. Debugging had to be discovered.
I can remember the exact instant when I realized that a large part of my life
from then on was going to be spent in finding mistakes in my own programs."
--Maurice Wilk
Thanks for your reply.you are right I just copy DBI.PM file into that directory. I don't know how to install it can you guide me on that how to install it properly ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.