BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BDE with Access 2007 Init problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
Tom
Guest





PostPosted: Tue Jan 02, 2007 7:01 pm    Post subject: BDE with Access 2007 Init problem Reply with quote



Using the BDE/Paradox with Vista RTM seems to be working fine for us so far.

However, we're having trouble linking to a Paradox table from Access 2007.
Sometimes we can do it. Other times Access announces a network
initialization error (11265).

Whether we get this or not is related in some way to whether we've run our
D7/BDE application since we booted Vista. So, we suspect some registry entry
or BDE configuration issue.

Anyone have any suggestions (other than the not-possible, but coveted
"Abandon the BDE")!

Thanks
Back to top
Tom
Guest





PostPosted: Tue Jan 02, 2007 8:09 pm    Post subject: Re: BDE/Paradox with Access 2007 Init problem Reply with quote



Further details on our problem: We seem to be always able to *open* a table
that was previously linked, but actually linking table for the first time
usually generates the 11265 error.
Back to top
Tom
Guest





PostPosted: Wed Jan 03, 2007 2:42 am    Post subject: Vista BDE/Paradox Problem solved Reply with quote



The problem I was having opening Paradox files in Access 2007 were due to
the fact that the (default) BDE NetDir (for PdoxUsers.Net) is C:\, which is
a restricted location in Vista.

And, BdeAdmin.exe was locking up when closing. (It may still be for all I
know... I'm not using it!)

Use RegEdit to change the key below to a folder to which you have full
rights:

HKEY_LOCAL_MACHINE\Software\Borland\Database
Engine\Settings\Drivers\Paradox\Init\NetDir
Back to top
Tom
Guest





PostPosted: Sun Jan 07, 2007 3:00 am    Post subject: Re: BDE with Access 2007 Init problem Reply with quote

Follow-up for anyone needing this information: I, of course, was wrong
about using the registry to change NET DIR. It's in IDAPI32.cfg and can only
be modified by BDEAdmin.exe or DBI calls. Both of these access methods allow
you to change Drivers, Native, Paradox, NET DIR (with a space in the middle)
to a folder other than the Vista-protected C:\, preferably to the same
folder that your app sets Session.NetDir to.

Both methods, however, also lock up after making the change, looping
(according to a registry monitor I'm running) on changing a registry
variable related to Date. But, before locking up, they make the change.
To avoid the lockup, run BDEAdmin as Administrator (by right clicking on the
exe.)

I also noticed in my registry monitor Access querying the registry for NET
DIR in a registry location under Office, ... Access Connectivity engine, and
not finding it. I don't know anything about this registry entry or how it
is used. But it doesn't seem to be needed here...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.