| vasanth kumar 2004-03-19, 1:26 pm |
| Hi,
I get the following error. When I access the script through web. When I
execute the script from command prompt, there is no error. I configured the
ODBC to take care of my MSAccess Database.
This is the line, where perl script is failing. I fell script is OK, as it
is working fine from command prompt. I am not sure why IIS is failing to run
this script. What extra need to be done?
my $dbh = DBI->connect( 'dbi:ADO:library','','') or die "error";
*** 'E:\Intranet\CAE\bin\library.pl' error message at: 2004/01/15 13:04:05
DBI->connect(library) failed: Can't connect to 'library': -2147467259: OLE
exception from "Microsoft OLE DB Provider for ODBC Drivers":
[Microsoft][ODBC Driver Manager] Data source name not found and no default
driver specified
Win32::OLE(0.1101) error 0x80004005: "Unspecified error"
in METHOD/PROPERTYGET "Open"
-2147467259: at E:\Intranet\CAE\bin\library.pl line 35
error at E:\Intranet\CAE\bin\library.pl line 35.
-Vasanth
-------------------------
"vasanth kumar" <vasanth.kumar@eds.com> wrote in message
news:%23Gr8%23Zz2DHA.3216@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I have a perl scipt which is executed upon hitting a search button.
> This queries Database & gets results. But the results are not printed in
the
> browser.
>
> The script when run from command prompt gives proper results.
>
> I configured IIS to take care of perl scripts as per
> http://support.microsoft.com/?id=245225
>
> Any help is appreciated
>
> Thanks in advance
> Vasanth
>
>
|