How do u enable ns_db in the config file as the error it geneartes in the
log file is
command "ns_db" is not enabled
while executing
"ns_db gethandle"
thanx,
Prakash
-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Prakash Sinha
Sent: Monday, April 09, 2001 12:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Connect To Sybase(WIN 32 Win NT)(For Frank)
Frank it wud be good, if u send me the odbc file(nsodbc.dll), i searched but
cud not find. i will search again.
how do i need to call this dll in config.tcl for AOLServer?
Thanx Again,
Prakash
-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Franclim Félix Bento
Sent: Monday, April 09, 2001 12:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Connect To Sybase(WIN 32 Win NT)
Hi,
The server connects to the database when starting. It manages a pool of
connections and when you need to access the database, you just have to call
for a connection from that pool. This is well explained in the documentation
and examples. What you need is the odbc "driver" that the server uses to
"talk" with the database. I don't know if you have it (nsodbc.dll)... If you
need it I can send it to you.
After configuring the database access section on the server configuration
file, thats it...your server is connected to the database.
Frank
-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Prakash Sinha
Sent: segunda-feira, 9 de Abril de 2001 16:12
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Connect To Sybase(WIN 32 Win NT)
I must thank u for the prompt reply. Cud u let me borrow the section of code
to connect to SQL 7.0. I had an impression that AOL Server does not support
SQL 7.0 driver.
If it's possible wud u let me borrow the code to connect to the database.
Prakash
-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Franclim Félix Bento
Sent: Monday, April 09, 2001 11:06 AM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Connect To Sybase(WIN 32 Win NT)
Hi,
I'm working with win32 and mssql7. I connect using odbc and have no
problems.
It works fine.
If you need more info about connecting using odbc just call.
Frank
-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Prakash Sinha
Sent: segunda-feira, 9 de Abril de 2001 15:40
To: [EMAIL PROTECTED]
Subject: [AOLSERVER] Connect To Sybase(WIN 32 Win NT)
Hi,
I am preety new to this ADP and TCL.
I just need to know if somebody has a sample code to connect to the
database SYBASE. I looked into the documentation, but it does not seem to
be working with WIN32 platform. If anybody has worked with SyBase and Win32
platform, please let me know.
I appreciate any help!!!
Prakash