Parallel using Paradox database with c# JET and another program

  • Thread starter Przemys³aw Staniszewski
  • Start date
P

Przemys³aw Staniszewski

I'm looking for how to access a Paradox database with C#.

The problem is that, on workstation is all ready running program,
which using target database. Until it's running,
oleDbConnection.Open() throws an exception.

If I'm not running program in .NET from the same computer but in
another Windows workstation and using shared folder all works fine.
The original program has read/write access and I have read-only access
as I need. Of course on the second computer NET DIR is pointing to the
right directory in the shared folder.

If I use share folder and run both program (my and original) on the
same computer and configure BDE to use the shared folder connection
from C# to Paradox Database can't be opened.

I tried to run program from .NET on Administrator account rights but
it doesn't help.

So I take one other program, Paradox database editor and try to edit
one of tables when original program is running. On the user rights it
give me error about accessing the network folder. But when running
with administrator rights I can successfully read database, as well as
when only Paradox database editor is running only on user account
rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top