Page 1 of 2

Unable to load odbcji32.dll - UniDac with Access Provider

Posted: Mon 21 Dec 2015 13:13
by johnbitner
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?

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

Posted: Tue 22 Dec 2015 14:09
by johnbitner
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?

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

Posted: Tue 22 Dec 2015 16:34
by johnbitner
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.

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

Posted: Wed 23 Dec 2015 13:10
by AlexP
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?

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

Posted: Mon 04 Jan 2016 07:16
by esbglenn
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

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

Posted: Wed 20 Jan 2016 16:28
by alexbozhko
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.

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

Posted: Thu 21 Jan 2016 11:50
by AlexP
As I wrote earlier, we couldn't reproduce the issue. Try the above solutions.

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

Posted: Fri 29 Jul 2016 07:36
by Weaker
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.

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

Posted: Mon 01 Aug 2016 08:03
by AlexP
Glad to see that the issue was resolved. If you have any further questions, feel free to contact us.

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

Posted: Thu 02 Nov 2017 09:28
by ian231
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 uninstalled Office.
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

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

Posted: Mon 06 Nov 2017 08:32
by MaximG
We are glad that the issue was rectified. We will add the description of the issue solution to our Knowledge Base.

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

Posted: Thu 26 Apr 2018 06:39
by edwards142
johnbitner wrote:
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?


I want to help you out buddy as I too frequently render these kinds of situations in my Access Database. Recently I and my friend got stuck in this type of ODBC error:

Access 1919 – configuring ODBC data source Error
Access Run-time 3146 ODBC Call Failed Error

We both have fixed this error manually and by own. if you want to check the manual steps then you can may be it work for your problem also.

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

Posted: Thu 26 Apr 2018 13:47
by MaximG
Thank you for the provided information. Perhaps it will be useful if our users have similar problems

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

Posted: Thu 14 Jun 2018 05:43
by WalterOney
johnbitner wrote:
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. Phenq reviews and results are amazing for weight loss 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?
I faced the same problem once. I kept un-installing and re-installing my applications one by one and as far as I remember, after un-installing and re-installing Microsoft Office 365, the problem disappeared. So I would suggest you to uninstall MS Office once and check.

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

Posted: Mon 09 Jul 2018 12:51
by johnyjackson
WalterOney wrote:
Thu 14 Jun 2018 05:43
johnbitner wrote:
Mon 21 Dec 2015 13:13
I have several commercial applications Anavar-Results 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. reviews and results are amazing for weight loss 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?
I faced the same problem once. I kept un-installing and re-installing my applications one by one and as far as I remember, after un-installing and re-installing Microsoft Office 365, the problem disappeared. So I would suggest you to uninstall MS Office once and check. HGH-GNC
Hi WalterOney I follow all the steps as you discussed above. I uninstall MS Office but facing the same problem, there is no change. Please provide if there any alternate method to solve?