ASPX網(wǎng)站報(bào)錯(cuò):操作必須使用一個(gè)可更新的查詢的解決辦法
2017-06-05 19:20:06
16394
錯(cuò)誤:
Server Error in '/' Application.
--------------------------------------------------------------------------------
操作必須使用一個(gè)可更新的查詢。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: 操作必須使用一個(gè)可更新的查詢。
原因:出現(xiàn)這個(gè)問題是因?yàn)閍ccess數(shù)據(jù)庫沒有寫入權(quán)限導(dǎo)致的。
解決方法:可以單獨(dú)給access所在目錄增加修改權(quán)限