PRB: Error 80070005 "Unexpected Error" When You Use Remote Data Service (278454)



The information in this article applies to:

  • Microsoft Data Access Components 1.5
  • Microsoft Data Access Components 2.0
  • Microsoft Data Access Components 2.1
  • Microsoft Data Access Components 2.1 (GA)
  • Microsoft Data Access Components 2.1 SP1
  • Microsoft Data Access Components 2.1 SP2
  • Microsoft Data Access Components 2.5
  • Microsoft Data Access Components 2.5 SP1
  • Microsoft Data Access Components 2.6
  • Microsoft Data Access Components 2.7
  • Microsoft Internet Information Server
  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Internet Explorer (Programming) 4.01
  • Microsoft Internet Explorer (Programming) 4.01 SP1
  • Microsoft Internet Explorer (Programming) 5
  • Microsoft Internet Explorer (Programming) 5.01
  • Microsoft Internet Explorer (Programming) 5.01 SP1
  • Microsoft Internet Explorer (Programming) 5.5

This article was previously published under Q278454
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

When you use the RDS.DataControl object to return data by using Remote Data Service (RDS), you may receive the following error message:
Unexpected error. (0x80070005)

CAUSE

RDS relies on the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ADCLaunch

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ADCLaunch\RDSServer.DataFactory
					

This error can occur when these registry keys either do not exist or their permissions are too restrictive.

RESOLUTION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve the error, perform the following steps:
  1. To determine if the above keys exist, use Regedit.exe or Regedt32.exe. If the keys do not exist, add them.
  2. To determine if the key permissions are too restrictive, open Regedt32.exe, and select the registry key. On the Security menu, click Permissions to view the Access Control List for the key. The authenticating user must have at least Read permission to the registry keys.

    NOTE: The user account is determined by the authentication method settings of the MSADC virtual folder for the Web site. If you are using anonymous access, the user account is the IUSR_computername account.
  3. Restart your Web service.

MORE INFORMATION

Error 0x80070005 can also occur if the Business Object component is not added to the ADCLaunch registry key. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

185169 INFO: Err 0x80070005 if RDS Bus Obj not Added to ADCLAUNCH Key


Modification Type:MajorLast Reviewed:5/29/2003
Keywords:kbDatabase kbprb KB278454