On Mon, 09 Sep 2002 11:44:44 +0530 "Pramod.S.Warrier" <[EMAIL PROTECTED]> wrote:
> I am trying to connect to a remote Oracle server using a CGI program > given below. > My problem is that my code works fine on the command prompt. But when i > try to run this program through the broswer its gives me an error. I am > using Win NT and the Oracle server is on a Windows XP machine. The error > message that i get in the apache error log is as below : > > <log> > [Sat Sep 07 18:34:25 2002] [error] [client 127.0.0.1] > DBI->connect(Ifund2) failed: [Oracle][ODBC][Ora]Server rejected the > connection. (SQL-08004)(DBD: db_login/SQLConnect err=-1) at > </log> > > > As for the ODBC, I have made an entry in the System DSN for Oracle > ODBC > Driver with the service name as Ifund2. > > Besides this CGI program works on the Oracle Server machine showing me > the result of the query executed. It's in the fine manual. Run 'perldoc DBI::FAQ' and look at question 4.4. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age.
