Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write in DBF table
Message
De
09/09/2005 09:41:49
 
 
À
09/09/2005 09:05:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01048023
Message ID:
01048076
Vues:
16
>>Hi,
>>
>>
>>My data folder is not read only and I set permission to write in IIS configuration, but when I execute:
>>
>>int iRows = this.cmd.ExecuteNonQuery();
>>
>>this.cmd is OleDbCommand() instance
>>
>>It return this error:
>>
>>
>>System.Data.OleDb.OleDbException: Cannot update the cursor AUTORIZACAO, since it is read-only.
>>   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 Admin.Classes.Dado.Executar(String sBanco, String sSql) in c:\inetpub\wwwroot\online\atua\dado.cs:line 74
>>   at Atua.Indices.SalvarInteracao(Int32 Salv_Cont_Cod, Int32 Salv_Prod_Cod, Int32 Salv_Serv_Cod, String Salv_Obser) in c:\inetpub\wwwroot\online\atua\indices.asmx.cs:line 350
>>
>
>Geraldo,
>Double check its properties. ie: In explorer right click the dbf and check file properties and security.
>Cetin

Cetin,

The problem was about security and are working so good now. Things.

By the way, please to see the "Debbugin dificult" thread that I write here.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform