Error Message: Microsoft OLE DB Provider for ODBC Drivers Error '80004005' (238971)
The information in this article applies to:
- Microsoft Internet Information Server 4.0
This article was previously published under Q238971 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: 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 an Internet Information Server (IIS) ASP
page to access a database, the connection may fail with the following error message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
CAUSE
If you have used the C2 security program from the Windows NT Resource Kit on your system, the following registry key may only have read permissions assigned to the Everyone group:
Hkey_Local_Machine\Software\ODBC
In order for the ODBC drivers to function properly, the Web user accounts must have full control of this registry key.
RESOLUTIONWARNING: 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 assign full-control permissions to the Everyone group, follow these steps:
- Start Registry Editor (Regedt32.exe).
- Locate the following key in the registry:
Hkey_Local_Machine\Software\ODBC
- On the Security menu, select Permissions.
- Select Replace Permission on Existing Subkeys and set the permissions for the Everyone group to full control.
- Quit Registry Editor.
Modification Type: | Minor | Last Reviewed: | 6/22/2005 |
---|
Keywords: | kbpending kbprb KB238971 |
---|
|