Forum Stats

  • 3,767,816 Users
  • 2,252,720 Discussions
  • 7,874,335 Comments

Discussions

Can not create ActiveX component,

974516
974516 Member Posts: 2
Hello, I'm migrating the platform of Windows 2003 Server to Windows 2008 Server 64 bits. and changing from Oracle 10g to 11g. But to run some codes in throws me the error "Can not create ActiveX component" in Visual Studio. NET 2008, in the line of code.
OraSession = CreateObject ("OracleInProcServer.XOraSession").
Oracle version I have installed is 11.1.0.6.0


I hope someone can help me
thanks

Answers

  • Tridus
    Tridus Member Posts: 594 Silver Badge
    That looks like OO4O code. I hate to be the bearer of bad news, but it's one of two likely problems:

    1. If you installed the 64 bit Oracle client, OO4O isn't in it. OO4O is discontinued and not supported in 64 bit.
    2. If you installed the 32 bit client in a 64 bit OS, I've seen cases where the registry entries to register OO4O aren't properly created. If you manually register everything it will usually work, but it's still not supported in a 64 bit OS.
  • 974516
    974516 Member Posts: 2
    Thanks for your answer, my S.O. is 64 bit, oracle 11g client and also is 64 bit, which I register DLL's record and how? ...

    thank you very much
  • Tridus
    Tridus Member Posts: 594 Silver Badge
    If it's all 64 bit, you don't. OO4O isn't in the 64 bit driver.
This discussion has been closed.