Share via


Runtime Error '429': ActiveX component can't create object

Question

Thursday, May 9, 2013 11:08 AM

Hi,

I am using below code in vb6 application but this is throwing an "Runtime Error '429': ActiveX component can't create object" error.

CreateObject("OracleInProcServer.XoraSession")

is that due to any dll or reference error ?

please share your solution

Thanks in advance

All replies (10)

Thursday, May 9, 2013 11:51 AM âś…Answered

Are the Oracle Objects for OLE installed and registered?

http://www.oracle.com/technetwork/database/windows/index-092246.html

Paul ~~~~ Microsoft MVP (Visual Basic)


Thursday, May 9, 2013 11:53 AM

Hi,

The error suggests that the underlying dll is not registered on your machine. You might have to register the dll that has this class in it using regsvr32.

Let us know how it goes.

Regards,
Rahul

Please remember to mark the replies as answers if they help.


Thursday, May 9, 2013 12:25 PM

The system Have regsvr32 dll and also registered in registry.


Thursday, May 9, 2013 12:44 PM

Make sure all of the dependent components have been registered:

http://jagdeepmankotia.blogspot.com/2012/07/set-orasession-createobjectoracleinproc.html#!/2012/07/set-orasession-createobjectoracleinproc.html

Paul ~~~~ Microsoft MVP (Visual Basic)


Thursday, May 9, 2013 1:23 PM

Hi paul,

i registered all the dll's

oo4ocodewiz.dll
odbtreeview.ocx
oo4oaddin.dll
oip9.dll

but **ODAC92070.exe **is not available in the system which one you mentioned in your first reply.

thanks.


Thursday, May 9, 2013 3:16 PM

Hi,

My System doesn't have "OracleInProcServer.XOrasession" in the registry.

is that the reason for this issue ?


Thursday, May 9, 2013 3:33 PM

Yes, that would be the problem. It sounds like you need to install the Oracle Objects for OLE.

Paul ~~~~ Microsoft MVP (Visual Basic)


Thursday, May 9, 2013 5:05 PM

Thanks paul.

can you tell me the way to install oracle objects for OLE if you have an idea.

Thanks in advance.


Thursday, May 9, 2013 6:29 PM

Did you check the link in my first post?

Paul ~~~~ Microsoft MVP (Visual Basic)


Friday, May 10, 2013 10:27 AM

I got it..Thanks paul

so, is oracle object for OLE(oo4o) the exe for creating "OracleInProcServer.XOrasession"

in system resistry ?.

and the system have oracle 11.2.0  client , so which one  i need to download ?

and also let me know if anyother alternative source code available for below one ?

CreateObject("OracleInProcServer.XoraSession")

Thanks