Object required Error when connect to Oracle

hi all

When I use the following code to Connect Oracle, it came a Object required  error. Would you help me out?

The database name is myoracle
username : 015484
password : admin

<%
Dim OraSession
Dim OraDatabase

 On Error Resume Next
 Set OraSession = Server.CreateObject("OracleInProcServer.XOraSession")
 Set OraDatabase = objOraSession.OpenDatabase("myoracle","015484/admin",0)
 If Err.Number>0 then
  Response.Write "<font color=red>Connection Error :" & err.description & "</font>"
  response.end
 End if
%>
ToBeAsked:
Who is Participating?
 
jitgangulyConnect With a Mentor Commented:
Oracle client and /or OracleInProcServer dll not installed/registered on web server

BTW : Should have been 50 points
0
 
rohanbairat3Commented:
<%
Dim OraSession
Dim OraDatabase

 On Error Resume Next
 Set OraSession = Server.CreateObject("OracleInProcServer.XOraSession")
 Set OraDatabase = OraSession.OpenDatabase("myoracle","015484/admin",0)
 If Err.Number>0 then
  Response.Write "<font color=red>Connection Error :" & err.description & "</font>"
  response.end
 End if
%>
0
 
rohanbairat3Commented:
Try that I saw a typo
Set OraSession = Server.CreateObject("OracleInProcServer.XOraSession")
 Set OraDatabase = objOraSession.OpenDatabase("myoracle","015484/admin",0)

OraSession
objOraSession

0
 
ToBeAuthor Commented:
sorry I just post a dated file
After I change it the Error still there
0
All Courses

From novice to tech pro — start learning today.