Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MS Access data problem on Vista

2 views
Skip to first unread message

BH

unread,
Aug 16, 2007, 11:58:31 PM8/16/07
to
I created an app with BCB 5 that uses an Access 2000 db. The app runs as
expected on XP, but returns the following when I try to run it on Vista:

General SQL error.
Out of Memory.
Alias
Alias: MyAlias.

I've tried several configs in the bdeadmin, but still get the error. What
could be causing this issue? Any and all ideas would be appreciated.


Bob Swart

unread,
Aug 17, 2007, 1:27:03 AM8/17/07
to
Hi BH,

> I created an app with BCB 5 that uses an Access 2000 db. The app runs as
> expected on XP, but returns the following when I try to run it on Vista:
>
> General SQL error.
> Out of Memory.
> Alias
> Alias: MyAlias.

Alias? You're not using the BDE to "access" your Access 2000 db, are
you? I would expect that you use dbGo for ADO (or ADOExpress as the name
still is in C++Builder 5).

> I've tried several configs in the bdeadmin, but still get the error. What
> could be causing this issue? Any and all ideas would be appreciated.

Could you please confirm if you are using the BDE (which is generally an
issue on Vista) or ADO to work with your Access 2000 db.

Groetjes,
Bob Swart

--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml

BH

unread,
Aug 17, 2007, 9:37:31 AM8/17/07
to
I created the app with BCB5 Professional (no ADO). I have a User DSN set up
in Windows ODBC Administrator for the Access 2000 db. The Database Name
property for the TTable and TQuery components in the app all point to the
User DSN.

"Bob Swart" <b.s...@chello.nl> wrote in message
news:46C531A7...@chello.nl...

Bob Swart

unread,
Aug 19, 2007, 3:42:41 AM8/19/07
to
Hi BH,

> I created the app with BCB5 Professional (no ADO). I have a User DSN set up
> in Windows ODBC Administrator for the Access 2000 db. The Database Name
> property for the TTable and TQuery components in the app all point to the
> User DSN.

OK, so you are still using the BDE (ODBC through the BDE, right?).

In that case, if you get an "Out of Memory" error, try increasing the
SHAREDMEMSIZE (using the BDE Administrator tool), for example:

SHAREDMEMSIZE to 16384 (on a 1GB machine)
SHAREDMEMSIZE to 60000 (on a 2GB machine)
MAXBUFSIZE to 20480
MAXFILEHANDLES to 128

BH

unread,
Aug 19, 2007, 5:35:49 PM8/19/07
to
Bob,

The machine shows 1.8 GB RAM. I tried the settings you suggested for the 1
and 2 GB setups and still get the same errors. I installed an earlier
version of the program that uses Paradox tables and it works as expected
with either setting, but I would still like to get the Access version
working.

"Bob Swart" <b.s...@chello.nl> wrote in message

news:46C7F471...@chello.nl...

0 new messages