BUG: You receive a "Failed to find property in cache: InstalledInstances. failed to perform discovery on machine" error message when you try to install SQL Server 2000 Reporting Services (897020)



The information in this article applies to:

  • Microsoft SQL Server 2000 Reporting Services

Bug #: 344416 (SQLBUDT)

SYMPTOMS

When you try to install Microsoft SQL Server 2000 Reporting Services, you receive an error message that is similar to the following:
Failed to find property in cache: InstalledInstances. failed to perform discovery on machine:ComputerName.
After you receive this error message, the Setup program rolls back the installation and you cannot successfully install SQL Server 2000 Reporting Services.

RESOLUTION

To resolve this problem, you must first locate the HRESULT error number that is located in the rsstpInteger.log file. Do this step to determine the next step to resolve the problem. The rsstpInteger.log file is located in the following .CAB file:

C:\Program Files\Microsoft SQL Server\80\RS Setup Bootstrap\Log\RSSTP_.CAB

After you determine the error number from the log file, use one of the following methods to resolve this problem depending on the error number that you received.
  • HRESULT: 2147749907 (WBEM_E_PROVIDER_LOAD_FAILURE)
    To resolve this problem, you must re-register all the Windows Management Instrumentation (WMI) DLLs. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. Type the following command to change the folder to the WMI folder:

      cd %windir%\system32\wbem

    3. Type the following command to re-register the WMI DLLs:

      for /f %s in ('dir /b *.dll') do regsvr32 /s %s

    4. Type exit, and then press ENTER to close the Command Prompt window.
    You should now be able to successfully install SQL Server 2000 Reporting Services.
  • HRESULT: 2147749904 (WBEM_E_INVALID_CLASS)
    To resolve this problem, you must locate a computer that is running the same version of Windows and has the same service pack level installed. Then, you must copy files that are located in the WMI folder from the working computer to the problem computer. To do this, follow these steps:
    1. Stop the WMI service on the problem computer.
    2. Copy the following three files from the working computer to the problem computer:
      • %windir%\System32\Wbem\Cimwin32.dll
      • %windir%\System32\Wbem\Cimwin32.mof
      • %windir%\System32\Wbem\Cimwin32.mfl
      Note Make sure that you copy the files to the same folder on the problem computer.
    3. Click Start, click Run, type cmd, and then click OK.
    4. Type the following command to change the folder to the WMI folder:

      cd %windir%\system32\wbem

    5. Type the following command to register the Cimwin32.dll file:

      regsvr32 Cimwin32.dll

    6. Start the Windows Management Instrumentation service on the problem computer.
    7. At the command prompt, type the following commands to compile the following files:
      • mofcomp Cimwin32.mof
      • mofcomp Cimwin32.mfl
    You should now be able to successfully install SQL Server 2000 Reporting Services.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about SQL Server 2000 Reporting Services, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:5/11/2005
Keywords:kbtshoot kbbug KB897020 kbAudDeveloper kbAudITPRO