Sto utilizzando con successo questo provider da tempo, ma stavolta, al momento di trasferire il mio progetto online ricevo questo errore ...
Ho controllato i permessi di scrittura e sulla cartella App_data sono configurati correttamente.
Operation must use an updateable query.
Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere l'analisi dello stack.
Dettagli eccezione: System.Data.OleDb.OleDbException: Operation must use an updateable query.
Errore nel codice sorgente:
Durante l'esecuzione della richiesta Web corrente è stata generata un'eccezione non gestita. Per informazioni sull'origine e la posizione dell'eccezione, vedere l'analisi dello stack dell'eccezione riportata di seguito.
Analisi dello stack:
[OleDbException (0x80004005): Operation must use an updateable query.]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1003520
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +255
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +188
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +161
System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +113
Samples.AccessProviders.AccessConnectionHelper.GetApplicationID(OleDbConnection connection, String applicationName, Boolean createIfNeeded) in D:\documenti\Visual Studio 2008\Projects\ASP.NET Access Providers\Samples\AccessProviders\AccessConnectionHelper.cs:106
Samples.AccessProviders.AccessMembershipProvider.GetAppplicationId(AccessConnectionHolder holder) in D:\documenti\Visual Studio 2008\Projects\ASP.NET Access Providers\Samples\AccessProviders\AccessMembershipProvider.cs:1560
Samples.AccessProviders.AccessMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object userId, MembershipCreateStatus& status) in D:\documenti\Visual Studio 2008\Projects\ASP.NET Access Providers\Samples\AccessProviders\AccessMembershipProvider.cs:327
[FileNotFoundException]
Samples.AccessProviders.AccessMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object userId, MembershipCreateStatus& status) in D:\documenti\Visual Studio 2008\Projects\ASP.NET Access Providers\Samples\AccessProviders\AccessMembershipProvider.cs:438
System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() +318
System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) +102
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +418
System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) +161
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +19
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565