Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

blank page
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 d
efault
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
>
>




Report this thread to moderator Post Follow-up to this message
Old Post
vasanth kumar
03-19-04 06:26 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL CGI Freelance archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:54 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.