in

ISOM Community

Communities for Grant's classes in information systems

Table update issue

Last post 03-10-2008 1:34 AM by jmcdonel. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 03-09-2008 7:25 PM

    Table update issue

    Our group is having an issue with the insert/update functions with our annoucements table. When we attempt to do it on the local machine, it works perfectly without a hitch. However when we upload it and try the exact same actions, we get the following error message:

    Operation must use an updateable query.

    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: Operation must use an updateable query.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [OleDbException (0x80004005): Operation must use an updateable query.]
    System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +267
    System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +192
    System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +48
    System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +106
    System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +108
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteDbCommand(DbCommand command, DataSourceOperation operation) +404
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteInsert(IDictionary values) +447
    System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) +72
    System.Web.UI.WebControls.FormView.HandleInsert(String commandArg, Boolean causesValidation) +388
    System.Web.UI.WebControls.FormView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +602
    System.Web.UI.WebControls.FormView.OnBubbleEvent(Object source, EventArgs e) +95
    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
    System.Web.UI.WebControls.FormViewRow.OnBubbleEvent(Object source, EventArgs e) +109
    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
    System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +115
    System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +132
    System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746

     We're not sure what this means or how to fix it, and this is frustrating because like I stated, everything works perfectly on the local machine.

  • 03-09-2008 7:43 PM In reply to

    Re: Table update issue

    our group is getting the exact same thing and from what we saw when we were looking for answers is that security settings for our access database won't allow us to put data into it. so it looks like our links are messed up but we can't fix them because the security options aren't available to us. anyway, a good analogy for what is going on is that our data is traveling on a one way street from the database but we need it to be a two way so the new data can head back. hope this helps but we are in the same boat as you 

  • 03-09-2008 7:45 PM In reply to

    Re: Table update issue

    I'm glad we're not the only group experiencing this problem!

    Hopefully Grant hasn't gone to sleep yet :)

  • 03-09-2008 8:22 PM In reply to

    Re: Table update issue

    i hear that. i guess the fact that the drop down menu works is still a good thing

  • 03-09-2008 9:32 PM In reply to

    Re: Table update issue

    This error is caused by not placing the database in the correct folder. Please refer to the tutorial for which folder it should go in. Also make sure you don't have extra copies of the database in other folders.
  • 03-09-2008 11:47 PM In reply to

    Re: Table update issue

    After referring to the tutorial and making the exact changes outlined in said tutorial and re-uploading the results, it seems to have fixed nothing and I am getting the exact same error.

  • 03-10-2008 1:34 AM In reply to

    Re: Table update issue

    our form is still broken after going through about it 4 or 5 times using the video and tutorial from class but it is still the same error. i did have multiple databases at the start and i took care of that but it didn't change anything. i suppose whats done is done and posting this won't be much help but there might be someone else working on this with the same problem this late

Page 1 of 1 (7 items)
Copyright Grant Castner 2006 - 2007
Powered by Community Server (Commercial Edition), by Telligent Systems