Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB5.0 - Sybase SQL Anywhere 5.0
Message
De
13/12/1997 05:33:50
 
 
À
12/12/1997 13:09:14
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00065571
Message ID:
00065728
Vues:
35
>Hi, everybody!
>
>We build a client-server aplication, with Sybase
>SQL Anywhere 5.0 in Back-End and VB5 in Front-End.
>The code has been generate by a CASE tool - PowerDesigner,
>from the DataModel we've created.
>
>Now, we start having this very strange situation:
>the application runs OK from the PC that has been generated
>both the Database and the VB application but if we run the
>application from another machine, we cannot update records,
>instead we got this error message:
>
>Can't update. Database or object is read-only. (Error 3027)
>
>This is what I found in jeterr35.hlp file for this error:
>
>"You tried to save changes in a database that was opened for read-only access.
>The database is read-only for one of these reasons:
>
>· You used the OpenDatabase method and opened the
>database for read-only access.
>· In Visual Basic, you are using the Data control,
>and you set the ReadOnly property to True.
>· The database file is defined as read-only in the
>operating system or by your network.
>· The database file is stored on read-only media.
>· In a network environment, you don't have write
>privileges for the database file.
>· When working with a secured database, the database
>or one of its objects (such as a field or table) may be set
>to read-only. You may not have permission to access this
>data with your user name and password."
>
>But none of this possible reasons aplies to the real situation we've got.
>
>Also, on the PC where the application runs, sometimes we got
>a 'Data conversion' error while trying to update a record,
>with no visible reason for having'it.
>
>We are in a verry big rush, actualy we have to solve the
>problem by monday, so if anyone have a hint in that, please
>help!
>
>Thanks a lot,
>
>Daniela
>
>
>Close the database, resolve the read-only condition, and then reopen the file for read/write access.

U might wonna check out the part of the code which actually opens the database it could have something to do with that, if yer using ODBC to access it, check if you use correct open statement.
No other ideas poped up in my head if they will i'll sure let you know.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform