Forums
This topic is locked
Error when updating, inserting & deleting records
Posted 13 Oct 2004 17:01:34
1
has voted
13 Oct 2004 17:01:34 Michael Togher posted:
I ususally use CF and am having to develop my first ASP.NET App. All works but the above. I get an error as follows each time:System.Data.OleDb.OleDbException: Operation must use an updateable query.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
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()
I figure it must be outside the code because I installed a functional site from someone else on my IIS6 server and it encountered the same issue.
Can anyone shed some light on my problem?
Thanks in advance.
Replies
Replied 15 Nov 2004 17:28:32
15 Nov 2004 17:28:32 myke black replied:
It would be useful if you could post the relevant section of the code that is causing the error, but have you tried changing permissions on the database?
Replied 29 Mar 2007 23:54:28
29 Mar 2007 23:54:28 Kimberly Alvarado replied:
I too am running my first ASP.net app with backend database. I moved a functioning site to another IIS server and now I get that message too, but three times listed on the error page.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I ususally use CF and am having to develop my first ASP.NET App. All works but the above. I get an error as follows each time:
System.Data.OleDb.OleDbException: Operation must use an updateable query.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
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()
I figure it must be outside the code because I installed a functional site from someone else on my IIS6 server and it encountered the same issue.
Can anyone shed some light on my problem?
Thanks in advance.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I ususally use CF and am having to develop my first ASP.NET App. All works but the above. I get an error as follows each time:
System.Data.OleDb.OleDbException: Operation must use an updateable query.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
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()
I figure it must be outside the code because I installed a functional site from someone else on my IIS6 server and it encountered the same issue.
Can anyone shed some light on my problem?
Thanks in advance.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>