您的位置首页百科问答

没有可用的错误消息,结果代码: E_FAIL(0x80004005)

没有可用的错误消息,结果代码: E_FAIL(0x80004005)

的有关信息介绍如下:

没有可用的错误消息,结果代码: E_FAIL(0x80004005)

这个错误微软早就有揭示: http://support.microsoft.com/kb/295297

错误的原因是:

The account that is being used to access the page does not have access to the HKEY_LOCAL_MACHINE\SOFTWARE\ODBC registry key.

IIS运行账户,无权访问注册表项 HKEY_LOCAL_MACHINE\SOFTWARE\ODBC registry

可以用regedit32.exe作相应修改:

Start Registry Editor (Regedt32.exe).

Select the following key in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC

On the Security menu, click Permissions.

Type the required permissions for the account that is accessing the Web page.

Quit Registry Editor.