Operation must use an updateable query ASP Query Failing

放肆的年华 提交于 2020-01-04 13:37:17

问题


Below is the error code I am receiving after running an Update query

2015-02-18 17:30:12 192.168.2.240 GET /webinsert.asp Date=02/10/2015&Field=38|443|80004005|Operation_must_use_an_updateable_query. 80 - Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 500 0 0 56

I recently moved the database from one server to another. I can read the data no problem. It has proper IIS User rights (read and write). Any help would be greatly appreciated.


回答1:


Make sure your IIS user has write permissions to the .mdb file and the folder containing the .mdb file (/wwwroot/db in your case based on your comment). The folder requires write permission because Access creates an .ldb file in the same folder to handle database locking.

Also from here:

You may also need to give read/write permission on the "Temp" folder because Jet may create temporary files in this directory.

I assume they are referring to C:\Windows\Temp but I'm not positive.



来源:https://stackoverflow.com/questions/28711037/operation-must-use-an-updateable-query-asp-query-failing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!