Oracle objects for OLE Error

Results 1 to 2 of 2

Thread: Oracle objects for OLE Error

  1. #1
    Mark Guest

    Default Oracle objects for OLE Error

    I have installed the runtime version of OO4O on my web server but am getting errors when I try to connect to my Oracle database:<BR>&#060;%<BR> Set OraSession = Server.CreateObject("OracleInProcServer.XOraSessio n")<BR> Set OraDatabase = OraSession.DbOpenDatabase("dbname", "scott/tiger", cint(0))<BR>%&#062;<BR><BR>the error message is as follows:<BR>Server object error &#039;ASP 0177 : 800401f3&#039;<BR>Server.CreateObject Failed<BR>/oo4o_connect.asp, line 4<BR>Invalid class string<BR><BR>Any suggestions, as this seems like pretty standard code?<BR>Mark

  2. #2
    Join Date
    Dec 1969

    Default RE: Oracle objects for OLE Error

    The invalid class string indicates the object you tried to create is not a known object type (class) on the server. I&#039;ve used Oracle for a few projects but never heard of:<BR>OracleInProcServer.XOraSession<BR><BR>Shoul dn&#039;t you:<BR>Set OraSession = Server.CreateObject("ADODB.Connection")<BR>Set OraDatabase = OraSession.Open "DSN", "ID", "Pass"<BR>?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts