Microsoft KB Archive/185169

From BetaArchive Wiki
Knowledge Base


INFO: Error 0x80070005 If RDS Business Object Is Not Added to ADCLAUNCH Key

Article ID: 185169

Article Last Modified on 3/14/2005



APPLIES TO

  • Microsoft Remote Data Services 1.5
  • Remote Data Service for ADO 2.0
  • Microsoft Remote Data Services 2.1
  • Remote Data Service for ADO 2.5
  • Remote Data Service for ADO 2.6
  • Microsoft Remote Data Services 2.0



This article was previously published under Q185169

SUMMARY

When using the RDS.DataSpace to create a custom Business Object (ActiveX DLL) the following error message results if the Business Object component is not added to the ADCLaunch registry key:

Run-time error '-2147024891 (80070005)':
Unexpected error (0x80070005)

MORE INFORMATION

To add the proper key information to the registry, run Regedit.exe from the Start/Run menu and add the following key:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\ 
    Parameters\ADCLaunch\yourprogid.yourclassname (project and class name 
                                                   of your Business Object)

                

REFERENCES

For more information on creating a Custom Business Object with Visual Basic, please see the following articles in the Microsoft Knowledge Base:

166277 HOWTO: Create a VB Component that Returns a Recordset in RDS


For additional information, please see the following Web site:


Additional query words: ADC

Keywords: kbinfo kbdatabase KB185169