Skip to main content
May 30, 2007
Question

updatable query in asp.net

  • May 30, 2007
  • 1 reply
  • 260 views
In ASP I had not this problem, now with asp.net and with the same access database as I used in asp pages, I get this messge

System.Data.OleDb.OleDbException: Operation must use an updateable query.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at DreamweaverCtrls.DataSet.DoInit()
This topic has been closed for replies.

1 reply

Participant
May 30, 2007
oh sorry, maybe post wrong last, your problem maybe the access right problem with your DB (*.mdb)

you can config the right for the IIS user, (most likely is IUSR_"your computer name"), just gain the right to him.

hope can help you