Error: operation must use an updateable query

那年仲夏 提交于 2019-12-13 02:15:44

问题


After making the set up of the application(developed using VS 2008 and MS Access) the installation in another system works fine. But whenever I try to change the Password or id(there is a login window which the user need to access to get into the main window) it shows an error sayin "operation must use an updateable query". Can anyOne suggest the remedy?

Thank you, Indranil


回答1:


Have you checked the permissions are the same for both set-ups? You will need a minimum of read and write permissions on the folder that contains the Access file.

To check permissions, it may be possible to right-click on the file or folder and choose Properties. The Security tab will show the details.

For web applications, you need to check the permissions for IUSRS.




回答2:


  1. To fix this error, you need to run your application in Administrator Privilege
  2. Do the following steps to run the application in Administrator Privilege
  3. Change Level From

    <requestedExecutionLevel level="asInvoker" uiAccess="false" />

    To

    <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />

It is available in UAC settings, located in the Project Settings



来源:https://stackoverflow.com/questions/2749674/error-operation-must-use-an-updateable-query

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