最近有几个客户的电脑Access运行他自己的数据库系统 总是提示加载Dll错误,重装Office2010 和修复ADO及DAO都无法解决
最后通过 重装 Office2007解决了。下面总结出现 加载Dll错误的几种解决办法
1.重新注册dao360.dll
2.重新注册msado15.dll
3.重新添加ACEDAO.DLL相关注册表项
4.重装office2010,如果不行,安装Office2007先修复注册表,然后再卸载它,再安装Office2010
相关的微软的文章(以下方法解决了其中一个客户的问题):
微软的 Office Access 2010/2013/2016 出现以下错误
"Error in loading dll" 加载DLL出错
当你运行Microsoft Office Access, 导入向导, 查询向导, 报表向导, 控件向导, 都会收到以下提示错误:
"Error in loading dll"
"Object library not registered"
原因主要是因为
以下关键注册表不存在.
ACEDAO.DLL
--2007, 2010, 2013 MSI INSTALLS
(64-bit Windows, 32-bit Office):
Key: HKEY_CLASSES_ROOT\ TypeLib\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win32
String: (Default)
Value: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\ACEDAO.DLL
(64-bit Windows, 64-bit Office)
Key: HKEY_CLASSES_ROOT\ TypeLib\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win64
String: (Default)
Value: C:\Program Files\Common Files\Microsoft Shared\OFFICE14\ACEDAO.DLL
(32-bit Windows, 32-bit Office):
Key: HKEY_CLASSES_ROOT\ TypeLib\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win32
String: (Default)
Value: C:\Program Files\Common Files\Microsoft Shared\OFFICE14\ACEDAO.DLL
Note: OFFICE14 is used in the above registry key path. This should represent the current version of Access installed.
OFFICE12 - Access 2007
OFFICE14 - Access 2010
OFFICE15 - Access 2013
--2013 CLICK 2 RUN
(64-bit Windows, 32-bit Office):
Key: HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib
\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win32
String: (Default)
Value: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\ACEDAO.DLL
(64-bit Windows, 64-bit Office):
Key: HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib
\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win64
String: (Default)
Value: C:\Program Files\Common Files\Microsoft Shared\OFFICE15\ACEDAO.DLL
(32-bit Windows, 32-bit Office):
Key: HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\REGISTRY\MACHINE\SOFTWARE\Classes\TypeLib
\{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}\c.0\0\win32
String: (Default)
Value: C:\Program Files\Common Files\Microsoft Shared\OFFICE15\ACEDAO.DLL
DAO360.DLL
(64-bit Windows, 32-bit Office)
Key: HKEY_CLASSES_ROOT\TYPELIB\{00025E01-0000-0000-C000-000000000046}\5.0\0\win32
String: (Default)
Value: %CommonProgramFiles(x86)%\Microsoft Shared\DAO\dao360.dll
(64-bit Windows, 64-bit Office) or (32-bit Windows, 32-bit Office)
Key: HKEY_CLASSES_ROOT\TYPELIB\{00025E01-0000-0000-C000-000000000046}\5.0\0\win32
String: (Default)
Value: %CommonProgramFiles%\Microsoft Shared\DAO\dao360.dll