如果是出现类似这样的话:
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified 
可以跟着下面试试.不过最好先备分注册表!
1.运行Regedt32.exe.
2.找到以下位置:Hkey_Local_Machine\Software\ODBC 
3.在Security menu, 选择 Permissions.
4.在已存在的子键中选择要代替的Permission同时设定Permissions对Everyone group 是full control.
5.退出.

解决方案 »

  1.   

    make sure the database file and the folder it is in give Everyone read/write permissions
      

  2.   

    to Wolfyee(木子乐乐):
    我在MSDN上也看到如你所说的!只是我的Hkey_Local_Machine\Software\ODBC 没有
    Security menu呀!!?
      

  3.   

    数据库是否打开(用ACCESS),请确定,指定的数据库路径的是否正确,还有把IE的缓存清空,试一下。我也曾碰到过,原来是缓存。