Getting a "Class not registered" error in VC++

I'm after a bit of advice concerning a system that I'm
supporting. The system is an Oracle 7.3.4 DB with Oracle
Objects for Ole v2.2, and the Microsoft ODBC driver for Oracle,
with the application consisting of a VB(ODBC) frontend and a
VC++ DLL(OO4O) backend.
The client has reported that one of the sites the software is
installed at is generating the error "Specified Class not
registered in Registry". I've narrowed this down to an OO4O
call in the VC++ DLL, which does a simple select statement, it
seems to be able to make the database connection and then
crashes, however I've been unable to duplicate it in the
development environment.
No other sites have reported this problem, so I'm assuming that
the OO40 installation has become corrupted. Has anyone else
experienced similar problems and can offer advice or solutions
to getting it working, and how I can reproduce the problem in
the development environment.
Thanks
Andrew

Andrew,
May be the name 'Oracle Objects' does not clearly reflect it
being the forum for Oracle's Object-Relational Technology. There
is a separate forum for OO4O (Oracle Objects for OLE).
Regards,
Geoff
Just to let everyone know, I've managed to duplicate the problem
on a development PC and come up with a fix, which I modified
from a similar fix I found for Oracle 8i. The fix is to
reregister OIP22.dll which is the inprocess server for Oracle
Objects, and to run Oo4oParm.reg and Oraipsrv.reg which restore
any missing entries in the registry. I've sent the client the
steps to follow, and hopefully this should cure the PC.
Andrew

Similar Messages

  • Excel Viewer: Class not registered (error -214722116​4)

    Hello,
    I am using the Excel examples shipped with Labview 8.21 to read from an Excel file and this works well. Now I need to do the same but on a PC that does not have Microsoft Office or Excel installed but only the free XLVIEWER (Microsoft Office Excel Viewer). When I try to change the ActiveX class of my reference to feed the 'Automation Open' vi I get the Class not registered (error -2147221164) although I can browse down to the XLVIEWER.exe and select it. Then I thought that maybe XLVIEWER had no ActiveX to communicate with other application; I thus installed a package called excelocx.exe, rebooted the PC but that did not change anything. I am still stuck with the same error.
    What am I doing wrong?
    Thanks a lot,
    Christophe

    Please find attached the VI I am using together with the XLS file that I try to read with Labview on a Pc that does not have MS Excel installed, only the XLVIEWER.
    OpenOffice is not supported in our company so cannot be considered as a valid solution.
    Thanks,
    Christophe
    Attachments:
    Read Excel File with Labview 820.zip ‏31 KB

  • Getting Class not registered error when I run wmi queries

    Getting Class not registered error when I run win32 wmi queries. Eg:

    Specs: 
    Lenovo 3000 N100
    Windows Vista Home Premium
    Genuine Intel (R) CPU T2080 @ 1.73 GHz (2 CPUs)
    1014 MB RAM
    DirectX 10
    Intel(R) GMA 950 

  • Class Not Registered error upon using MS Office Report

    Hello,
    Using LabVIEW 2010, I've just installed the Microsoft RGT trial from NI, along with the Office 2010 trial from Microsoft. Upon trying to drag the MS Office Report VI to my block diagram, the configuration dialog appears but immediately an error dialog shows up over top, with a Class Not Registered error. Attached is the screenshot. If I close the error and try to configure the VI for a basic Excel report, I get a file-not-found error in reference to the Excel template, which I have verified is indeed at the target path and opens with my version of Excel just fine. Any ideas how to get past this error?
    Attachments:
    error.JPG ‏42 KB

    Hello,
    It sounds like you have to reinstall the RGT. Have a look at this documentation.
    http://digital.ni.com/public.nsf/allkb/B7F980D169474D568625760E0055D55E
    Eric
    Eric Liauw
    AE Specialist - Automated Test | CLD | CTD
    National Instruments

  • Class Not Registered : Error -2147221164

    Let's see if anyone can solve this one :
    I have a *.tlb file, and I'm using the "Automation Open" vi to open the file so that I can invoke methods on it.
    This vi is giving me the following error "Class Not Registered : Error -2147221164". This is only happening on one of my computers.
    Can anyone shed any light on this one?
    Thanks, Gene

    I am assuming from your response then that you have tried to use regtlib anyways. All I can find on the error says to register it again. Maybe try to un-register it and then re-register it. Here is a Knowledgebase that talks about the methods to register it.
    How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?
    One thing is to make sure you are logged in as an administrator. Also what version of LabVIEW and are you running this as a VI or an exe?

  • Class Not Registered error when opening COM+ Applications folder

    Hi,
    This question was originally posted in the Microsoft Community / Win 7 forum, but I was asked to post it here.
    As you can see below, I'm getting Error Code 80040154 - Class Not Registered when clicking on COM+ in Component services.
    ...picture 1 coming / Account verification
    I took a look at the event logs but couldn't glean much information from them.
    I also have issues associated with MSInstallVSSProvider when Uninstalling / Installing Norton Ghost 15. Not sure if they are related or not.
    Below are the errors I get when Installing Norton Ghost 15. This app had been loaded on the PC earlier with no problems whatsoever. A few months later when launching the app, I got several error messages. Couldn't resolve them so I thought I would uninstall
    / reinstall. That's when I started seeing the MSInstall errors, which lead me to the Component Services area.
    ...picture 2 coming
    ...picture 3 coming
    ...picture 3 coming
    I suspect a registry cleaner (GlarySoft) is the culprit here. My mistake was not backing up the registry before running the scan. This won't happen again.
    Thanks,
    Tracy

    Hi,
    In the event error, can you read what {GUID} encounters the error message? Please also let us know the full error message.
    Based on my search, this issue can be caused by the incorrect registry permission settings.
    Please launch Registry Editor and navigate to HKEY_CLASSES_ROOT\CLSID\{GUID} to verify the permission settings.
    If it does not work, you may run Process Monitor to check what process encounters this error.
    Process Monitor v3.05
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    Here is the related blog for your reference:
    How to troubleshoot the “Red Arrow” issue in Component Services ( I )
    http://blogs.msdn.com/b/asiatech/archive/2010/02/22/how-to-troubleshoot-the-red-arrow-issue-in-component-services.aspx
    Kate Li
    TechNet Community Support

  • Class not registered error

    Hello ,
    I am getting an error for Class not registered. I registered this dll on the machine again. However now i get an error msg. saying unknown system error with some weired numbers like -2146828235. I looked at some of the previous threads. I did clean up the duplicate copies. but i dont know why it keeps giving me this error.
    Also to be noted a thing is that I did not get this  error previously, whenever I did get one, i tried to select the class again from the LV and it worked.
    Any suggestions on this one will be much appreciated.

    It sounds to me after you registered, it wasn't saved.  The error could comes from the DLL.
    ------- LabVIEW 2009, So Easy, Even a Therapist Can Do It -------

  • "Class not registered" error when creating Application

    HI,
    I successfully created HFM profile. I then went into Workspace and tried creating an application. After entering the required information and click create, I get an error message "CLASS NOT REGISTERED". Is there something wrong with the installation and configuration of the product. Will it be wose to reinstall the foundation Service and HFM again.

    Hi,
    In the event error, can you read what {GUID} encounters the error message? Please also let us know the full error message.
    Based on my search, this issue can be caused by the incorrect registry permission settings.
    Please launch Registry Editor and navigate to HKEY_CLASSES_ROOT\CLSID\{GUID} to verify the permission settings.
    If it does not work, you may run Process Monitor to check what process encounters this error.
    Process Monitor v3.05
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    Here is the related blog for your reference:
    How to troubleshoot the “Red Arrow” issue in Component Services ( I )
    http://blogs.msdn.com/b/asiatech/archive/2010/02/22/how-to-troubleshoot-the-red-arrow-issue-in-component-services.aspx
    Kate Li
    TechNet Community Support

  • CLASS NOT REGISTERED error msg

    My System is restored from a Hard disk crash when i try to run SQLPLUS
    iam getting following errors ..
    Error 6 initializing sql*plus
    msg file sp1<lang>.msb not found
    sp2:0750 you may need to set ORACLE_HOME to your oracle software directory
    similarly when i run toad
    iam getting
    CLASS NOT REGISTERED ..
    can anyone tell what actions i shud take ..

    do i need to do anything like this ?
    Re-registered XfsLocal.dll0 and XfsRemote.dll it solved my problem .. (was posted by one of the user before)

  • AxInterop.AcroPDFLib.dll throws "Class not registered" error on 64 bit OS

    I have an vb.net application which uses AxInterop.AcroPDFLib.dll to open PDF files. The application works fine on a 32 bit operating system. But when the same application is accessed from a 64 bit Operatiog system, it throws error "Class not Registered".
    Am i supposed to use different version of AcroPDFLib.dll for 64 bit OS.
    I have Acrobat reader 9.1 installed on 64 bit OS machine. Is there any newer version of SDK/dll which will fix ths problem.
    Please let me know solution for this problem.
    Thanks in advance.

    I am pretty sure if you compile your client application as x86 itwill work fine....you are probably compiling it with the configuration set to AnyCPU. The application loads up as 64bit or 32bit depending on the OS when set to AnyCPU. You want to force it to load as 32bit by compiling as x86. That way the app runs under WOW and loads the AcroPDFLib correctly.
    Hope this helps

  • Class not registered error, when open HTML files.

    Hi guys, recently I've been facing this problem, everytime that I try to open a HTML file it shows the error message "class not registered", I've tried reinstalling and yet no luck, this only happens with firefox because I also have IE 10 and it works with that one but you know, I love firefox so I want to open them with it.
    Additional Info:
    I'm using firefox 20.0.1 on Windows 8

    Try to redo the default browser setting and temporarily set another browser like IE as the default browser.
    *https://support.mozilla.org/kb/How+to+make+Firefox+the+default+browser
    *https://support.mozilla.org/kb/Setting+Firefox+as+the+default+browser+does+not+work

  • Class not registered error when saving picture from webpage

    I right click to save a picture (jpeg) on a web page and get a pop-up saying "(filename) class not registered. I an using Firefox on a Windows 7 Home Premium Version 6.1,7601 SP 1 Build 7601 -- hp Pavillion g7 notebook.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Class not registered error in Visual Studio 2003

    Post Author: LenReinhart
    CA Forum: .NET
    I have an report that has been running in an application for the last couple years. There is an error in the application that I fixed, but now the report  is not running against the production database and I wanted to look at a report in the editor and double clicked on the report in Visual Studio 2003. I got an error pop up "Class not registered" but that was it, no option to enter a registration code or anything. I had previously registered but tried going through that process and was told that it had been previously registered. I developed this report on this machine, so I am wondering if some patch that I applied caused this problem. It has been awhile since I have opened this report in an editor.Any light you can shine on this would be appreciated. Thanks,Len

    Post Author: MJ@BOBJ
    CA Forum: .NET
    Typically that error is referring to a COM dll that is not being loaded because it is not registered on the system.  Usually, that error message will give you a dll name, or a PROGID, or something.....was anything else provided in the error?
    In order for a file to be unregistered, something might have been uninstalled (or a failed install) that could have caused this issue.  I did a search in kbase and found a article that may help, at least it refers to a dll that you can try to register.
    Perhaps doing a reinstall may resolve the error.
    -MJ

  • "Class not registered​" Error when running Windows Explorer

    Hi, 
    I've been having trouble running Windows Explorer + any related programs (Control Panel, Internet Explorer, etc.).  Whenever I try to run such programs, a popup containing the following comes up:
    C:\Users\<username>\AppData\Roaming\Microsoft\Wind​ows\Start Menu
    Class not registered
    Any help?  I've tried using a registry cleaner, and the command regsvr32 ExplorerFrame.dll didn't work.  I don't recall installing anything, and everything else seems to be fine.
    Thanks in advance. 
    EDIT: I've tried System Restore, didn't work. 
    Message Edited by NuclearTide on 01-20-2009 04:45 PM

    Specs: 
    Lenovo 3000 N100
    Windows Vista Home Premium
    Genuine Intel (R) CPU T2080 @ 1.73 GHz (2 CPUs)
    1014 MB RAM
    DirectX 10
    Intel(R) GMA 950 

  • Keep getting VncViewer.class not found error when trying to use Windows 7

    Greetings,
    I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\deverej
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class VncViewer.class not found.
    java.lang.ClassNotFoundException: VncViewer.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://141.144.112.202:8888/OVS/faces/app/VncViewer/class.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: VncViewer.class
    I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

Maybe you are looking for