Unable to load odbcji32.dll - UniDac with Access Provider

Unable to load odbcji32.dll - UniDac with Access Provider

Postby johnbitner » Mon 21 Dec 2015 13:13

I have several commercial applications that as of last week stopped opening and return the error message "Unable to load odbcji32.dll" when launching. Several have not been updated in many months so our code has not changed. We are using UniDAC 6. In several apps specifically 6.2.8 and 6.2.9. We are seeing this error on Windows 10 and also on Windows 7 and 8 when Office 2016/365 is installed and updated. This seems to me to be related to the Windows 10 November update and/or the recent Office 2016/365 updates. Right now I cannot find a work around.

Has anyone else seem this error and have any suggestions?
johnbitner
 
Posts: 22
Joined: Thu 10 Sep 2009 16:18
Location: United States

Re: Unable to load odbcji32.dll - UniDac with Access Provider

Postby johnbitner » Tue 22 Dec 2015 14:09

The first error message is:
Title: "ODBC driver for Microsoft Access installation problem"
Message: "Unable to load odbcji32.dll"

The second error message is:
"[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed."

The third error message is:
"The operating system is not presently configured to run this application."

Any ideas?
johnbitner
 
Posts: 22
Joined: Thu 10 Sep 2009 16:18
Location: United States

Re: Unable to load odbcji32.dll - UniDac with Access Provider

Postby johnbitner » Tue 22 Dec 2015 16:34

Found the problem. Hope this helps someone else with the same errors.

It looks like an Office 2016/Office 365 update changes the path for the Access ODBC Driver.

In the registry browse to:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBCINST.INI\Microsoft Access Driver (*.mdb, *.accdb)

The driver and setup values are:
C:\Program Files (x86)\Microsoft Office\root\VFS\ProgramFilesCommonX86\Microsoft Shared\Office16\ACEODBC.DLL

The values should be:
Driver: %WINDIR%\system32\odbcjt32.dll
Setup: %WINDIR%\system32\odbcjt32.dll

Once this change is applied the errors go away.
johnbitner
 
Posts: 22
Joined: Thu 10 Sep 2009 16:18
Location: United States

Re: Unable to load odbcji32.dll - UniDac with Access Provider

Postby AlexP » Wed 23 Dec 2015 13:10

hello,

We installed both Windows 10 and Office 2016. Nothing changed in the registry, and UniDAC still works with both new and old databases correctly. Please clarify, after which product installation did this record appear in the registry?
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35

Re: Unable to load odbcji32.dll - UniDac with Access Provider

Postby esbglenn » Mon 04 Jan 2016 07:16

I discovered this problem with odbcji32.dll on our Windows 10 workstations today...

Doing a bit of searching there were quite a few reports that a recent Windows 10 update messed up several system files. The recommendation given was to install the Access Database Engine. I did this and our problems were fixed :)

So not a UniDAC problem - but nice to know a fix - here is the helpful article:

http://www.lucion.com/kb-database-connection-error.html
esbglenn
 
Posts: 1
Joined: Fri 08 Feb 2013 11:15

Re: Unable to load odbcji32.dll - UniDac with Access Provider

Postby alexbozhko » Wed 20 Jan 2016 16:28

I have same problem with Windows 8.1 and Office 365. Unfortunately, the solution didn't help me. Connection start working correctly, when I uninstalled Office.
alexbozhko
 
Posts: 1
Joined: Wed 20 Jan 2016 15:43

Re: Unable to load odbcji32.dll - UniDac with Access Provider

Postby AlexP » Thu 21 Jan 2016 11:50

As I wrote earlier, we couldn't reproduce the issue. Try the above solutions.
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35

Re: Unable to load odbcji32.dll - UniDac with Access Provider

Postby Weaker » Fri 29 Jul 2016 07:36

alexbozhko wrote:I have same problem with Windows 8.1 and Office 365. Unfortunately, the solution didn't help me. Connection start working correctly, when I used Phen375 pills on https://skinnyexpress.com/phen375-review-and-results I uninstalled Office.


I had the same problem on Windows 8 recently and I upgraded to Windows 10 finally and that fixed it and it's working fine now.
Last edited by Weaker on Sat 21 Jan 2017 15:30, edited 3 times in total.
Weaker
 
Posts: 1
Joined: Thu 28 Jul 2016 15:42

Re: Unable to load odbcji32.dll - UniDac with Access Provider

Postby AlexP » Mon 01 Aug 2016 08:03

Glad to see that the issue was resolved. If you have any further questions, feel free to contact us.
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35


Return to Universal Data Access Components