Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Write in DBF table
Message
From
09/09/2005 09:41:49
 
 
To
09/09/2005 09:05:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01048023
Message ID:
01048076
Views:
17
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform