IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

ASP.NET Discussion :

Operation must use an updateable query


Sujet :

ASP.NET

  1. #1
    Membre du Club
    Inscrit en
    Juillet 2006
    Messages
    295
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 295
    Points : 67
    Points
    67
    Par défaut Operation must use an updateable query
    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.

  2. #2
    Rédacteur
    Avatar de lutecefalco
    Profil pro
    zadzdzddzdzd
    Inscrit en
    Juillet 2005
    Messages
    5 052
    Détails du profil
    Informations personnelles :
    Âge : 45
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : zadzdzddzdzd

    Informations forums :
    Inscription : Juillet 2005
    Messages : 5 052
    Points : 8 734
    Points
    8 734
    Par défaut
    Ta base est en lecture seule je pense.
    Vire la "lecture seule"

  3. #3
    Membre du Club
    Inscrit en
    Juillet 2006
    Messages
    295
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 295
    Points : 67
    Points
    67
    Par défaut
    j'ai verifié les permissions mais tjs ca marche pas

  4. #4
    Rédacteur
    Avatar de lutecefalco
    Profil pro
    zadzdzddzdzd
    Inscrit en
    Juillet 2005
    Messages
    5 052
    Détails du profil
    Informations personnelles :
    Âge : 45
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : zadzdzddzdzd

    Informations forums :
    Inscription : Juillet 2005
    Messages : 5 052
    Points : 8 734
    Points
    8 734
    Par défaut
    Pas les permissions, la lecture seule.
    Sur le fichier, clic droit -> propriétés, en bas

  5. #5
    Membre du Club
    Inscrit en
    Juillet 2006
    Messages
    295
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 295
    Points : 67
    Points
    67
    Par défaut
    merci ca marche trés bien

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Message 'Operation must use an updateable query.'
    Par Mictou dans le forum ASP.NET
    Réponses: 9
    Dernier message: 25/09/2009, 22h25
  2. Operation Must Use An Updateable Query
    Par jam92400 dans le forum Access
    Réponses: 10
    Dernier message: 04/08/2006, 15h13
  3. Operation Must Use An Updateable Query
    Par jam92400 dans le forum Access
    Réponses: 4
    Dernier message: 01/08/2006, 14h19
  4. Operation must use an updateable query
    Par jam92400 dans le forum Access
    Réponses: 3
    Dernier message: 28/06/2006, 15h59
  5. Operation Must Use An Updateable Query
    Par jam92400 dans le forum Access
    Réponses: 2
    Dernier message: 22/06/2006, 11h37

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo