{"id":1261,"date":"2014-04-16T18:16:56","date_gmt":"2014-04-16T16:16:56","guid":{"rendered":"http:\/\/hen.co.za\/blog\/?p=1261"},"modified":"2014-04-20T10:39:30","modified_gmt":"2014-04-20T08:39:30","slug":"how-to-install-access-64-bit-driver-with-office-32-bit-on-same-machine","status":"publish","type":"post","link":"https:\/\/hen.co.za\/blog\/2014\/04\/how-to-install-access-64-bit-driver-with-office-32-bit-on-same-machine\/","title":{"rendered":"How to install Access 64-bit driver with Office 32-bit on same machine"},"content":{"rendered":"<p>Firstly I&#8217;ll be frank and say this whole issue stink &#8211; just another nice Microsoft bugger-up. By default you cannot install the x64 driver for Access (AccessDatabaseEngine_x64.exe) on a machine that already has a standard 32-bit version of Office (which should be for the majority of users). However, if you run any 64-bit apps they won&#8217;t be able to access any ODBC\/OLEDB drivers like for Access or CSV and so on. Yes, you can explicitly run the app as a 32-bit app and then access those 32-bit drivers again but then any 64-bit functionality goes out the door. (aka in .Net you can set the target platform to x86 and then it should work).<\/p>\n<p>Now, there is a way to install AccessDatabaseEngine_x64.exe on a machine that has 32-bit Office (2010 I tested with) without the installer freaking out and gives you the error that it cannot continue because a 32-bit version of office is installed. To do it run this:<\/p>\n<p style=\"padding-left: 30px;\"><strong>AccessDatabaseEngine_x64.exe \/passive<\/strong><\/p>\n<p>That will give you the ability to open the 64-bit ODBC data Sources app and add DSNs. Wonderful except for one MAJOR big problem. If you now open up any office application if will freak out &#8211; something about some odbcij.dll missing or something. You can try a repair install but that will break the 64-bit ODBC\/OLEDB drivers again. Bugger!<\/p>\n<p>Fortunately there is a way around that problem as well. This will work if you don&#8217;t have Access installed (I have not tried it with Access installed and it might break Access altogether).<\/p>\n<p>Open regedit and go to &#8220;<strong>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\14.0\\Common\\FilesPaths<\/strong>&#8220;. If there is a key to mso.dll delete it (at your own risk of course).<\/p>\n<p>Now you should be able to open Office without it complaining and the 64-bit ODBC driver tool will also work. If for some reason you did an Office repair and it broke the AccessDatabaseEngine_x64.exe install you must first uninstall it from control panel (something like Microsoft Access database engine 2010) and then rerun the AccessDatabaseEngine_x64.exe \/passive command.<\/p>\n<p>Lets hope Microsoft will find a better way to fix their own mess.<\/p>\n<p>Update: BTW in Windows 7 64-bit (probably Vista as well) you can create a shortcut to the 64-bit ODBC control panel tool using this link: C:\\WINDOWS\\SysWOW64\\odbcad32.exe. In Windows 8 at least they have separate entries (well I&#8217;m using classic shell&#8230;).<\/p>\n<p>Update2: To use the 64-bit OLEDB provider for Access use the provider string &#8220;<strong>Microsoft.ACE.OLEDB.12.0<\/strong>&#8220;. Using the old string &#8220;Microsoft.Jet.OLEDB.4.0&#8221; does not work anymore (on 64-bit)<\/p>\n<p>Update3: It seems newer versions of Office does some kind of check\/repair after reboots and so returning the mso.dll registry value and breaking 32-bit Office applications again. To fix this use a registry file like this:<\/p>\n<p style=\"padding-left: 30px;\">Windows Registry Editor Version 5.00<\/p>\n<p style=\"padding-left: 30px;\">[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\14.0\\Common\\FilesPaths]<br \/>\n&#8220;mso.dll&#8221;=-<\/p>\n<p>Possibly you can put it in a batch file that runs during startup (or scheduled task with Admin permissions)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firstly I&#8217;ll be frank and say this whole issue stink &#8211; just another nice Microsoft bugger-up. By default you cannot install the x64 driver for Access (AccessDatabaseEngine_x64.exe) on a machine that already has a standard 32-bit version of Office (which &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/hen.co.za\/blog\/2014\/04\/how-to-install-access-64-bit-driver-with-office-32-bit-on-same-machine\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[276,73,71,274,275,273],"class_list":["post-1261","post","type-post","status-publish","format-standard","hentry","category-reference","tag-32-bit","tag-64-bit","tag-access","tag-odbc","tag-office","tag-ole-db"],"_links":{"self":[{"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/posts\/1261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/comments?post=1261"}],"version-history":[{"count":6,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/posts\/1261\/revisions"}],"predecessor-version":[{"id":1268,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/posts\/1261\/revisions\/1268"}],"wp:attachment":[{"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/media?parent=1261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/categories?post=1261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/tags?post=1261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}