User name: trainee
Password: trainee
Host string: traindev
There is a table named ‘reg’.
I am using ASP code to connect to the database.
The connection code:
Expand|Select|Wrap|Line Numbers
- <%
- Dim objConn
- Set objConn=Server.CreateObject("ADODB.Connection")
- objConn.Provider="MSDAORA"
- objConn.ConnectionString= "userid=trainee; password=trainee; datasource=traindev"
- objConn.Open
- %>
Error Type:
Microsoft OLE DB Provider for Oracle (0x80004005)
ORA-12203: TNS:unable to connect to destination