问题
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