We help IT Professionals succeed at work.

BDE Configuration

jkb2
jkb2 asked
on
Medium Priority
295 Views
Last Modified: 2010-05-18
I have just completed a program that uses TQuery components to access data in a .db file. I can run it fine on my development machine but when I try to use the program on another machine after running my InstallShield install I get a "Table is read only" and the program will not update my database.

I kinda think that this is in the BDE configuration but don't really know. I set the BDE configuration in the setup (Installshield) to have the same alias name.

I am at a loss here. I cannot find anything that tells me why it will work on my machine but not on another.
Comment
Watch Question

Commented:
Did you try creating the new alias within the BDE and not when you use InstallShield?
miv

Commented:
Do you distribute the program on a CD-ROM ?
Is any of the db-files marked read-only (DOS attrib) ?

Author

Commented:
Just Tried it, Didn't Work. Still Getting "Table is Read Only".

thanks

Author

Commented:
This program was Distributed as a zip file. (No CDROM)

And it is not marked as read only via the Win95 attribute properties.


ovj

Commented:
Have you checked that there isn't a *.lck (lock) file. If so, remove it and it should work. Otherwise compare all other parameters in BDE setup for the DB driver you use with the values set on your development machine. Could be this.
Commented:
Try to check the RequestLive to TRUE.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.