On Thu, 15 Jan 2004 13:17:08 +0530, "vasanth kumar"
<vasanth.kumar.TakeThisOut@eds.com> wrote:
>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.
Try:
<a style='text-decoration: underline;' href="http://www.aspfaq.com/show.asp?id=2009" target="_blank">http://www.aspfaq.com/show.asp?id=2009</a>
Upgrade to current MDAC version.
Ensure that the IUSR account has permission to the database file and
folder.
Jeff
>
>-Vasanth
>-------------------------
>"vasanth kumar" <vasanth.kumar.TakeThisOut@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
<font color=green> >> <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=245225</font" target="_blank">http://support.microsoft.com/?id=245225</font</a>>
>>
>> Any help is appreciated
>>
>> Thanks in advance
>> Vasanth
>>
>>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: blank page