Error: Data source name not found and no driver specified or ODBC MSAccess Driver Login Failed or Unable to Load odbcji
Posted: Thu Mar 01, 2018 12:35 pm
If you receive an error message
"Data source name not found and no default driver specified"
or
"ODBC MSAccess Driver Login Failed "
or
"Unable to Load odbcji32.DLL"
IRRICAD Link uses a 64-bit MS Access driver and there is a known issue with this driver and Office 2010. Microsoft Updates may ‘break’ the driver. Each time this happens the way to fix it is to run a bat file located in the Irricad Link \DBSupport folder.
In Windows 7 you can right-click on the FixAccessDatabaseEngine.bat file and select “Run as Administrator”. In Windows 10 and Version 19 or greater you can right-click on the FixAccessDatabaseEngine.bat file and select “Run as Administrator”.
For Windows 10 and older versions (v18 and older) you will actually have to run it inside a command prompt that has been run as Administrator:-
1. Browse to C:\Windows\SysWow64 and right-click on CMD.exe and select “Run as Administrator”. (Or in the Search field type CMD and then right-click on the CMD.exe and select “Run as Administrator”).
2. Change the folder to the DBSupport folder in the installed IRRICAD Link folder, e.g. C:\Program Files\Irricad\Irricad Link Bricscad\DBSupport or C:\Program Files\Irricad\Irricad Link Autocad\DBSupport.
In the command prompt type in cd C:\ <enter>
cd program files<enter>
cd irricad<enter>
cd Irricad Link Bricscad<enter> or cd Irricad Link Autocad<enter>
cd DBSupport<enter>
3. Then type FixAccessDatabaseEngine and press enter.
Hopefully you should see a “this was run successfully…” message.
Unfortunately, future Microsoft Updates will probably ‘break’ it again. The long term solution is to upgrade from Office 2010.
This has also recently been seen with Office 365 and the previous Microsoft Office update (Sept 2020). According to Microsoft this has now been addressed (October 2020) and the fix should be available in the next update. Alternatively, you can do a manual update from this link https://support.microsoft.com/en-us/off ... de917611c5 .
Note that this issue has been resolved in IRRICAD Link V19, where we have programmed a work-around that should not be affected by any Microsoft updates or programs causing Office to reconfigure. However, if you do need to the run the "FixAccessDatabaseEngine" you can now simply double-click on the bat file rather than using an 'elevated' command prompt as detailed above.
"Data source name not found and no default driver specified"
or
"ODBC MSAccess Driver Login Failed "
or
"Unable to Load odbcji32.DLL"
IRRICAD Link uses a 64-bit MS Access driver and there is a known issue with this driver and Office 2010. Microsoft Updates may ‘break’ the driver. Each time this happens the way to fix it is to run a bat file located in the Irricad Link \DBSupport folder.
In Windows 7 you can right-click on the FixAccessDatabaseEngine.bat file and select “Run as Administrator”. In Windows 10 and Version 19 or greater you can right-click on the FixAccessDatabaseEngine.bat file and select “Run as Administrator”.
For Windows 10 and older versions (v18 and older) you will actually have to run it inside a command prompt that has been run as Administrator:-
1. Browse to C:\Windows\SysWow64 and right-click on CMD.exe and select “Run as Administrator”. (Or in the Search field type CMD and then right-click on the CMD.exe and select “Run as Administrator”).
2. Change the folder to the DBSupport folder in the installed IRRICAD Link folder, e.g. C:\Program Files\Irricad\Irricad Link Bricscad\DBSupport or C:\Program Files\Irricad\Irricad Link Autocad\DBSupport.
In the command prompt type in cd C:\ <enter>
cd program files<enter>
cd irricad<enter>
cd Irricad Link Bricscad<enter> or cd Irricad Link Autocad<enter>
cd DBSupport<enter>
3. Then type FixAccessDatabaseEngine and press enter.
Hopefully you should see a “this was run successfully…” message.
Unfortunately, future Microsoft Updates will probably ‘break’ it again. The long term solution is to upgrade from Office 2010.
This has also recently been seen with Office 365 and the previous Microsoft Office update (Sept 2020). According to Microsoft this has now been addressed (October 2020) and the fix should be available in the next update. Alternatively, you can do a manual update from this link https://support.microsoft.com/en-us/off ... de917611c5 .
Note that this issue has been resolved in IRRICAD Link V19, where we have programmed a work-around that should not be affected by any Microsoft updates or programs causing Office to reconfigure. However, if you do need to the run the "FixAccessDatabaseEngine" you can now simply double-click on the bat file rather than using an 'elevated' command prompt as detailed above.