Java

Java in Action Downloads Help Center

Error Messages

   

RPC Stub Error: Incompatible version of the RPC stub - "Unhandled Exception. Error number: 0x80070725"


This article applies to:
  • Platform(s):
    Windows 98, Windows ME, Windows 2000 (SP4+), Windows XP (SP1 SP2), Windows 2003
  • JRE version(s):
    1.4.2_xx, 1.3.0_xx, 1.3.1_xx, 1.4.0_xx, 1.4.1_xx



SYMPTOMS

During Java Runtime Environment (JRE) installation, an error message box appears with the following message:

Unhandled Exception

Error number: 0x80070725
Description: Incompatible version of the RPC stub

Setup Program will now terminate


The error appears as the following image:

Error Number: 0x80070725. Description: Incompatible version of the RPC Stub. Setup will now terminate

CAUSE

This error may be caused by an incompatible version of a DLL file that was installed on your computer by some other program, a file such as Oleaut32.dll, Olepro32.dll, Asycfilt.dll or Stdole2.tlb.
For example, version 3.50 of file Oleaut32.dll is used only by Windows XP. If it is somehow installed on a computer running another operating system it would cause this error due to file versions that are not compatible with each other.



SOLUTION

Following are three possible resolutions for this error. Choose the appropriate method for your computer.

Microsoft Office 2000 or an Office 2000 Component IS Installed on Your Computer
If you have Microsoft Office or an Office 2000 component installed on your computer, obtain and install the Microsoft Office 2000 Service Release 1 (SR-1). For information about how to obtain and install Microsoft Office 2000 Service Release 1a (SR-1a), please visit the following Microsoft Web site: #339:

Microsoft Office 2000 Service Release 1a


Microsoft Office 2000 or an Office 2000 Component IS NOT Installed on Your Computer
If you do not have Office 2000 or an Office 2000 component installed on your computer, download and install the mcrepair.exe tool. To obtain and install the mcrepair.exe tool, please visit the following Microsoft Web site:
Download the Microsoft mcrepair.exe tool


Save the mcrepair.exe file to the desktop, and then run mcrepair.exe by clicking on the file. When it prompts you to overwrite NEWER files, make sure you click YES for each file.

Restart your computer after you install mcrepair.exe.


Windows 98 or 95
On Windows 98 and 95, this error may be caused by a bad version of the oleaut32.dll file. To correct this problem, follow these instructions to remove the bad file and install a new version.

Warning: This resolution requires you to modify your System folder. Modifications to the Windows system, if not done correctly, can create serious problems for your computer.


  1. Download to your Desktop, but do not run, the Distributed Component Object Model (DCOM) file appropriate for your system. These files can be downloaded from the InstallShield support page, by clicking the links provided below.
  2. Select Start > Shutdown.
  3. Select Restart in MS-DOS mode.
  4. At the command prompt c:\WINDOWS, enter the following commands on separate lines as shown.
    cd c:\windows\system
    rename oleaut32.dll oleaut32.old
    exit
  5. Ignore the error message:
    A required .DLL file, C:\windows\system\oleaut32.dll, was not found.
    This error message appears because the file was renamed in step 4
  6. Now log in to your computer as you normally would.
  7. Double-click the file you downloaded to your Desktop in step 1.
  8. Click Yes to the dialog box that opens. The dcom.exe file installs a new oleaut32.dll file.
  9. After DCOM has been installed, select Start > Restart.


If your computer fails to function properly after following the above instructions, you can restore your original oleaut32.dll file by doing the following:

  1. Select Start > Shutdown.
  2. Select Restart in MS-DOS mode.
  3. At the command prompt c:\WINDOWS, enter the following commands on separate lines as shown. This restores the old oleaut32.dll file.  
    cd c:\windows\system
    rename oleaut32.old oleaut32.dll
    exit
  4. Windows automatically restarts. If it does not, select Start > Restart.



MORE TECHNICAL INFORMATION

  • Office 2000 SR-1 and the Mcrepair.exe tool both update and re-register the following files with the following file versions:

    • Asycfilt.dll (2.40.4515)
    • Oleaut32.dll (2.40.4515)
    • Stdole2.tlb (2.40.4515
    • Olepro32.dll (5.0.4515)
  • For additional information about the Mcrepair.exe tool, please refer to Microsoft Knowledge Base article - 259737 "INV: Invalid Page Fault in OLEAUT32 When You Quit Microsoft Internet Explorer".

  • For additional information about the error message that is listed in the "Symptoms" section of this article, please refer to InstallShield Knowledge Base article - Q105810 "ERRDOC: Incompatible Version of the RPC Stub".

  • For additional debugging steps for resolving these types of errors, please view InstallShield Knowledge Base article - Q104946 "PRB: Critical/Corrupted system error(s) occur after reboot of a setup".

  • Microsoft addresses this issue in Knowledge Base article - 321915 "Incompatible Version of the RPC Stub", Error Message with the InstallShield Program.


  • This message may be caused by an unsuccessful download. Retry the auto-download at "Get it Now" or "Manual Download" from java.com.

    NEED MORE HELP?
    If you require further assistance, please make sure you check through our Help and FAQ sections thoroughly. We probably have a page that answers your question.

    You may find information on the following topics in the Help section:
    Installing Java
    Configuring Java
    Error Messages
    Applet Application




    Help Resources
    > Installing Java
    > Configuring Java
    > Error Messages
    > Applet Application
    > Legal

     

    FAQ
    > General Questions
    > Java for Mobile Devices

     

    Select Language | Java Wear | Newsletter | About Java Technology | Partner with Us | Developers | java.com Changes
    Privacy | Terms of Use | Trademarks | License | Disclaimer | Contact

    Sun Microsystems