C
Cliff Cooley
Can anybody suggest what may be causing the following problem ?
I have an ASP script that opens a connection to an Oracle database using a
DSN connection string, such as :
Set dbConn= Server.CreateObject("ADODB.Connection")
dbConn.Open "DSN=somedsn; UID=someuser; PWD=somepassword"
With the ASP running on an IIS 5 server, using the Oracle 8 driver to
connect to an Oracle 9 database, there are no connection problems, and
everything works fine.
However, when the ASP script is run in IIS 6, using the Oracle 9 driver, the
ASP 'hangs' in the dbConn.Open statement if a valid connection string is
supplied. If an invalid string is supplied (e.g., the DSN doesn't exist), the
dbConn.Open statement returns immediately, with appropriate error messages.
If a valid string is supplied, it hangs (eventually the ASP times out).
If connection is attempted outside of the IIS environment (e.g., by some
other VB application) using the same connection methods, no problems are
encountered.
Can anyone think of anything that may be contributing to the problem - e.g.,
IIS configuration issues, Oracle driver issues, etc. ?
Many thanks,
Cliff Cooley
I have an ASP script that opens a connection to an Oracle database using a
DSN connection string, such as :
Set dbConn= Server.CreateObject("ADODB.Connection")
dbConn.Open "DSN=somedsn; UID=someuser; PWD=somepassword"
With the ASP running on an IIS 5 server, using the Oracle 8 driver to
connect to an Oracle 9 database, there are no connection problems, and
everything works fine.
However, when the ASP script is run in IIS 6, using the Oracle 9 driver, the
ASP 'hangs' in the dbConn.Open statement if a valid connection string is
supplied. If an invalid string is supplied (e.g., the DSN doesn't exist), the
dbConn.Open statement returns immediately, with appropriate error messages.
If a valid string is supplied, it hangs (eventually the ASP times out).
If connection is attempted outside of the IIS environment (e.g., by some
other VB application) using the same connection methods, no problems are
encountered.
Can anyone think of anything that may be contributing to the problem - e.g.,
IIS configuration issues, Oracle driver issues, etc. ?
Many thanks,
Cliff Cooley