http://bbs.foosun.net/showtopic-18182.html
为什么不先试试搜索呢?
下面是msdn解决办法的原文:
Locate your system's TEMP folder:
Follow the appropriate steps for your version of Windows:
For Windows XP: On the Start menu, click Control Panel, click the Performance and Maintenance icon, click the System icon, click the Advanced tab, and then click the Environment Variables button.
For Windows 2000: right-click My Computer on your desktop, click Properties on the menu that appears, click the Advanced tab, and then click the Environment Variables button.
For Windows NT: right-click My Computer on your desktop, click Properties on the menu that appears, and then click the Environment tab.
Find the TEMP variable in the list of System variables and note the folder that your system is using.
Note An easier way to perform this task is to click Start , click Run, type %temp%, and then press Enter.
Start Windows Explorer.
In Folders view, expand the path to your temporary folder.
Right-click the folder and click Properties on the shortcut menu.
On the Security tab, add Everyone to the existing permissions, assign it Change permissions, and apply these new settings to all files and subfolders.
Click OK.
除了你把数据库路径写错会出现这种问题以外,还有的原因应该是对系统临时目录访问权限不够的原因,所以应该把everyone加入到系统临时目录的安全选项中。。
记住是系统的临时目录,不是用户的临时目录~如:2000的系统临时路径是:/winnt/temp
希望此篇短文能对大家所有帮助~~切忌,请先确保你的程序没有问题才能按照此文解决问题,不然后果。。。呵呵