Ask a Question related to ASP Database, Design and Development.
-
Tom Murray #1
Windows 2000, IIS 5, Oracle 9 db
I have an issue here. Have a web server running IIS 5 on windows 2000
advanced server. The application connects to a database running Oracle
9i. I have an Oracle home directory and Oracle components installed on
web server. Using sql plus I can connect to db. The tnsnames file is
same tnsnames file across the network on local machines. Have set up a
DSN on the webserver for connecting to db using Microsoft ODBC for
Oracle Driver. I can write app in Vb using the DSN and connect to db.
The web page we have has a login in screen. After entering
username/passowrd combo the following error is generated.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC driver for Oracle][Oracle][ORA-12154: TNS: could not
resolve service name.
Again I can write a VB app on the server and using the same DSN record
I can connect. It resolves the TNS name. Here is entry in tnsnames.ora
file
HADD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL= TCP)(Host= oraapps1)(Port= 1523))
(CONNECT_DATA = (SID =HADD))
)
DSN entry for the ODBC connection has
DataSource Name: Hadd
Username: apps
Server: oraapps1.
The connection in the asp code is as follows:
MM_hadd_String = "dsn=hadd;uid=apps;pwd=apps;"
This is happening now and last week the web page loaded and behaved
like expected. No changes have been made since then.
I would appreciate any help anybody has.
Tom Murray Guest
-
Windows 2000/Oracle 9i/MDAC 2.6
I'm having trouble connecting to this machine using the following: Set OracleConn = Server.CreateObject("adodb.connection") OracleConn.Open... -
CDO for Windows 2000 vs CDO for Exchange 2000
How can I force SmtpMail class to use CDO for Windows 2000 instead of Exchange 2000. We do not use Exchange at all. I want to do this because I... -
[Q] Oracle 9.2.0 installation on MS Windows 2000 Professaional
I will install Oracle 9.2.0 for MS on MS Windows 2000 Professional. My company uses MS Windows 2000 server Domain Controller. So, i have to log... -
Oracle Client 8i 1.7 installation on Windows 2000 Advanced Server - Net 8 problems
Try seeing if you already have a tnsnames.ora in the ORACLE_HOME\network\admin directory. Delete them if so. And then try again. Regards HJR ... -
How can I get Oracle 8i for Windows 2000 on a CD ROM ?
Can anyone recommend a book having a CD ROM with 8i Personal Edition for Windows 2000 ? Or any other source ? I don't believe the Technology...



Reply With Quote

