PRB: Unable to Open Registry Key DriverID Error with Advworks

ID: Q184237

The information in this article applies to:

SYMPTOMS

When using the Advworks data source name (DSN) that installs with the Microsoft Data Access Components (MDAC) files, the following error may occur:

   Run-time error -2147467259(80004005) General Error Unable to Open
   registry key "DriverID".

CAUSE

The MDAC installation has problems, at times, correctly creating and registering the Advworks DSN.

RESOLUTION

Remove the Advworks DSN using the ODBC Data Source Administrator located in Control Panel and recreate the System DSN.

Steps to Remove and Recreate the Advworks System DSN

1. Select the ODBC Data Source Administrator from Control Panel.

2. Click the System DSN tab, select the Advworks DSN and then click remove.

   It is a good idea to check the User and File DSN tabs to see if there
   are any duplicate Advworks DSN's and remove them also.

3. Select the System DSN tab and click Add.

4. Locate and select the Microsoft Access Driver in the Create New Data

   Source Options dialog box and click Finish.

5. In the Data Source Name box type, Advworks.

6. Click the Select button and find the Advworks database located at

   C:\Program Files\Common Files\System\MSadc\Samples\advworks.mdb. Select
   the advworks.mdb and click OK.

7. Click OK. You now have a new System Advworks DSN.

STATUS

Microsoft is researching this problem and will post new information in the Microsoft Knowledge Base as it becomes available.

REFERENCES

For additional information, please see the following World Wide Web URL:

   http://www.microsoft.com/data/ 

Keywords          : mdac15Bug 
Version           : WINDOWS:1.5
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: April 21, 1998