bonjour a tous
j'ai un site web réalisé par asp.net lorsque je déploie mon site au niveau local ca marche trés bien tous actions que je fais consultation mon site modification de base de données suppression mais le probléme lorsque je déploie mon site au niveau sur mon réseau local et surtout lorsque j'effectue une modification sur ma base de données il m'affiche le msg suivant
Server Error in '/Production' Application.
--------------------------------------------------------------------------------
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
dAccess.SetCategoryInfo(String country, String cycle, String category, String period, String stat1n, String stat1d, String prodn, String prodd, String stat2n, String stat2d, String CSSn, String CSSd, String ReceiveCSSd, String Deadline, String Comment) +634
Inspection_Edit.btnUpdate_Click(Object sender, EventArgs e) +313
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.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) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
si vous avez des astuces n'hésitez de m'aider.
Partager