Diagnostic help

GBalcom

Much to learn!
Local time
Today, 03:19
Joined
Jun 7, 2012
Messages
462
Hello,
I have a 32bit access application that ties to an external db on our server. Been using this for years on several computers. We just got a new computer, and it has 64bit office. I run it as a .accde, with access 2013 runtime. I'm still getting an ODBC call fail error. Which direction should I be looking?

Is this an issue with 32/64-bit incompatibility? Permissions issue? I've tried all I can think of and I'm getting nowhere. Any help is appreciated.

The real twist here is I got one new computer (should be Identical setups) to work, but this one isn't.
 
We just got a new computer, and it has 64bit office. I run it as a .accde, with access 2013 runtime. I'm still getting an ODBC call fail error. Which direction should I be looking?

Some things to consider and check:
  • You cannot open a 32bit .accde file with 64bit Office.
  • As far as I'm aware, you also cannot install the 32bit runtime on a computer with 64bit Office.
  • The bitness of the ODBC driver must match the bitness of the MsAccess.exe (runtime or full edition) that is running the Access application.

PS:
I'm still getting an ODBC call fail error.
Can you state the exact error message?
 
@sonic8
For info, you can install older 32-bit runtime versions such as 2013 with a different 64-bit version of Access such as 365 & 2010. See

@Pat Hartman
There is at least one very important reason why 64-bit Access is advantageous. It handles large memory addresses which means fewer / no out of memory errors and certain demanding processes also run faster
It is possible to set Large Address Awareness capability for 32-bit Access using code such as that provided by Philipp, but it has to be reapplied on each version update which is a pain if you use 365. That code is available from
 
Do you have any specific information regarding what causes out of memory errors?
A reproducible scenario is opening several forms with multiple sub forms in a tab controls at the same time.
There are many factors involved, so it is hard to give concrete number for the above. In my experience the problem may start with 5 main forms with 10 sub forms each.
 
Do you have an Access application that can benefit from 64-bit?
Yes. For example, my JSON app which reads external JSON files into memory so these can be analysed & then saved as Access tables.
For standard JSON files, either bitness works fine. However, 64-bit Access performs far better with very large JSON files of 75 MB or more.
In such cases, 32-bit Access can run out of memory and freeze or crash. Using LAA helps extend the capability of 32-bit Access in this respect.
 

Users who are viewing this thread

Back
Top Bottom