|
![]() |
#1 |
Registered User
Datum registracije: Oct 2003
Lokacija: Sveta Marija
Postovi: 21
|
IIS ?? Problem...
Od kad sam s FAT32 presao na NTFS ima problema s upisivanjem ili promjenom podataka u bazi... kad upisujem na ovaj na cin: CS.Execute(iSQL) javlja mi ovu gresku: Error Type: Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. a kod ovakvog: strSQL = "SELECT tbl.* FROM tbl;" RS.CursorType = 2 RS.LockType = 3 RS.Open strSQL, strCon RS("x") = RS("xx") + 1 RS.Update RS.Requery RS.Close ovu: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Cannot [b]update. Database or object is read-only. pomozite,,, |
![]() |
![]() |
![]() |
#2 |
od LemilicE
Datum registracije: Dec 2002
Lokacija: Veli Lošinj
Postovi: 4,712
|
Imaš na Windows Updateu neki patch za Microsoft Jet DataBase, pa ga probaj skinut. Možda pomogne
__________________
Member Of the PC Ekspert 100+kg Demolition Squad ----------------------------- ReadTheFuckingManual Da, to sam ja u avataru!!! Grobnik ----> 1:37.759... ko od vas može brže??? Nemam više lema!!! |
![]() |
![]() |
|
|
Oglas
|
|
![]() |
#3 |
Registered User
Datum registracije: Oct 2003
Lokacija: Sveta Marija
Postovi: 21
|
ne pomaze... |
![]() |
![]() |
![]() |
#4 |
PC Ekspert
Datum registracije: Sep 2000
Postovi: 377
|
Ajmo opet, po 100-ti put, www.google.com... (Upisi: NTFS Operation must use an updateable query) Probaj s ovim dolje. Odnosi se na XP, Access, preformatiran disk s fat-a na ntfs quote: as then having same problem on XP Pro and I have solved the problem after searching a LOT. Okay, here is the solution: - open the Explorer - click on Tools and then Folder Options - goto View tab - scroll down all the way and the last item (i think) will say "Use simple file sharing" - uncheck it if it is checked - now, goto appropriate .mdb file and right click - click on properties - goto Security tab - select Everyone from User - check "Write" checkbox under Everyone as a user VOILA.......You have done it!!!!!! This should work now. It worked for me and now I can run SQL command from frontend to update my Access database. I jos jednom, ljudi, sve vam je pred nosom, sam treba otic na google |
![]() |
![]() |
![]() |
#5 |
Registered User
Datum registracije: Oct 2003
Lokacija: Sveta Marija
Postovi: 21
|
to sam 1. probal... ne radi... ![]() |
![]() |
![]() |
![]() |
#6 |
PC Ekspert
Datum registracije: Sep 2000
Lokacija: Luksemburg
Postovi: 694
|
Znaci dal si IIS useru (IUSR_imestroja) full access na .mdb file i nije pomoglo? Onda ti ostaje jos jedna stvar, naime Access napravi lock file kad netko pristupa bazi (.ldb), a IIS mozda ima samo read-access na direktorij u kojem je baza, i nemre napravit lock. Stoga istim postupkom promijeni permissione na direktoriju u kojem je baza i daj IUSR_xxx full access.
__________________
|
![]() |
![]() |
![]() |
#7 |
PC Ekspert
Datum registracije: Sep 2000
Lokacija: Luksemburg
Postovi: 694
|
E da, jos jedna stvar.. vrlo glupa, al Microsoft je takav.. Pogledaj file attibutes na .mdb fajlu, mozda je postaljen kao read-only. ![]()
__________________
|
![]() |
![]() |
![]() |
#8 | ||
Registered User
Datum registracije: Oct 2003
Lokacija: Sveta Marija
Postovi: 21
|
Citiraj:
![]() Citiraj:
Hvala svima... Pozdrav... |
||
![]() |
![]() |
|
|
Oglas
|
|
![]() |
|
|