Resolving .OCX file errors

Resolving .OCX file errors

Resolving .OCX errors



1) Install the software onto the PC that has Windows 7, 8, 10, or 11, making sure that you perform the installation using an Administrator level User.

2) Try to open the software and note the file name that is displayed in the error message, typically ending in .ocx. If the error message is hidden by the splash screen, use the mouse to click the header of the error message (should be an edge or corner showing) and slide it out to the side where it is now visible.

3) Search the C drive for the file that the error says is missing (i.e. MSCOMM32.ocx).  If found, right-click on the file and copy it.  If not found, you can obtain the file at numerous sites on the internet, or from another PC.  You can use a USB drive to transfer the file from one PC to another.

4) Once you have a copy of the file, navigate to the C:\Windows\System32 folder, paste the corresponding file (i.e. MSCOMM32.ocx). If the file is already present, a message will popup, there is no need to replace the current file. Next, navigate to the SysWOW64 folder and paste the file again into that folder.  And again, if there is a popup stating the file already exists, there is no need to replace it.

5) Click on the Windows Icon in the lower left of your display (Windows Logo or Start) and type "CMD" (don't include quotes) in the Run or Search box there. For Windows 10, type into the search box to the right of the Windows Logo.



6) When the CMD program (“Command Prompt”) shows up in the display, right click on it, and select "Run as Administrator". A command prompt will open in a separate window.




7) Once you have the command prompt open, type the following command, regsvr32.exe /u followed by the complete filename from the error message and hit "Enter":   Here is an example:

                                                                                                     

 regsvr32.exe /u MSCOMM32.ocx

                                         
8) If successful, you will be prompted with a notification that the unregistration of that file was successful.

9) Next, you will re-register the file by typing the same command, regsvr32.exe followed by the complete file name from the the error message and hit "Enter". Here is a continuation of our example: (Notice the /u is deliberately missing in this command)

regsvr32.exe MSCOMM32.ocx

10) Try to open the software again. If another error occurs with a different file repeat steps 3 through 9 until the software properly opens. This should take no more than 3 or 4 tries maximum.

11) If after doing the commands above and you are still getting the same error message we will need to repeat the commands, but under the SysWOW64 folder.  To get to the SysWOW64 folder from the command prompt, type cd \Windows\SysWOW64 and press the Enter key.



12) With the Command prompt now in the SysWOW64 folder, as shown above, follow steps 3 thru 9 to unregister and re-register the file(s) in the error message.  You should now be able to open the software properly without errors.
    • Related Articles

    • Installing old Nippon software onto a new computer

      How to Install NIC Software that Predates Windows 7, 8, or 10 *** Note: This procedure is only necessary for NIC Software CD’s that show that they are for a Windows version prior to Windows 7 on the label. 1) Install the software onto the PC that has ...
    • RA-7 Series Firmware and Software Updates

      Please follow these instructions in the exact order listed below to update the firmware and software for the RA-7 Series Mercury Analyzers. If at any time there are unforeseen errors or questions, please contact our technical support department at ...
    • RA-4 Low Flow Error

      If you are getting a "Low Flow Error" on your RA-4300A system there are three main likely causes.  A leak, a restriction, or a problem with the air pump. It should be noted, if you have recently changed and parts, or have done any maintenance to any ...
    • Flash Player End of Life Notice - 2020

      1 West Bronze Lane Bryan, TX  77807 Toll Free: 1.877.247.7241 Direct:  979.320.0052 Web:  www.agssci.com NIC Mercury Analyzer Software Notice ​ Most of the NIC Mercury Analyzer software currently in use includes graphical animation that uses Adobe ...
    • RA-4300FG+ Error Codes