{"id":3325,"date":"2021-05-09T10:08:09","date_gmt":"2021-05-09T17:08:09","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=3325"},"modified":"2021-05-09T10:09:19","modified_gmt":"2021-05-09T17:09:19","slug":"how-to-fix-the-microsoft-ace-oledb-16-0-provider-is-not-registered-on-the-local-machine","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=3325","title":{"rendered":"How to Fix The &#8220;Microsoft.ACE.OLEDB.16.0 Provider is not registered on the local machine.&#8221;"},"content":{"rendered":"\n<p>A popular issue in importing the data which is in Microsoft Excel 2016 to MSSQL via SSMS (Management Studio). It throw an error :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/05\/OLEDB1-1024x768.png\" alt=\"\" class=\"wp-image-3326\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/05\/OLEDB1-1024x768.png 1024w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/05\/OLEDB1-300x225.png 300w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/05\/OLEDB1-768x576.png 768w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/05\/OLEDB1.png 1114w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>&#8220;===================================<\/p>\n\n\n\n<p>The &#8216;Microsoft.ACE.OLEDB.16.0&#8217; provider is not registered on the local machine. (System.Data)<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>To fix this,<\/p>\n\n\n\n<p>First thing first, install &#8220;Microsoft Access Database Engine 2016 Redistributable.&#8221;<\/p>\n\n\n\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54920\">https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54920<\/a><\/p>\n\n\n\n<p>And then also check the version of Excel and SSMS. They need to be same, like 32 vs 32 or  64 vs 64<\/p>\n\n\n\n<p>SSMS is a 32 bit client, if your Microsoft Excel is 64 bit. you may need to install<a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54920\">&nbsp;the 64 bit version of the Microsoft Access Database Engine 2016 Redistributable<\/a>&nbsp;and try opening &#8211; the 64-bit&nbsp; &#8220;SQL Server Import and Export Data&#8221; directly. Go to Start Menu -&gt; Microsoft SQL Server 2017( your SQL server version) -&gt;&nbsp; SQL Server&nbsp; Import and Export Data (64-bit)&gt; Open the application and try to import data using the &#8220;Excel 2016&#8221; option, it should work fine.<\/p>\n\n\n\n<p><strong>Another solutions:<\/strong><\/p>\n\n\n\n<p><strong>Tips 1, use csv instead of xls<\/strong><\/p>\n\n\n\n<p>What I did is I converted the excel file into a csv file (comma delimited) , then I used the option Data Source &#8220;Flat File Source&#8221; and it recognized the comma separated fields as columns and created a Table. I also uninstalled the redistributable to keep my machine clean.&nbsp;<\/p>\n\n\n\n<p><strong>Tips 2, use \/quite option to install 32bit ACE <\/strong><\/p>\n\n\n\n<p>I downloaded&nbsp;<a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54920\">Microsoft Access Database Engine 2016 Redistributable<\/a>.&nbsp; I reinstalled 64-bit version.&nbsp; I had no problem since I already had Office 64-bit installed.&nbsp; But, SSMS Import did not work probably for being 32-bit app.<\/p>\n\n\n\n<p>I downloaded 32-bit distributable separately.&nbsp; I tried to run it, but it complained that I already have 64-bit installed.&nbsp; I ran it from the command prompt in \/quiet mode.&nbsp; It installed.&nbsp; SSMS import worked on Excel 2016 file now.&nbsp; I did not need even to restart SSMS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A popular issue in importing the data which is in Microsoft Excel 2016 to MSSQL via SSMS (Management Studio). It throw an error : &#8220;=================================== The &#8216;Microsoft.ACE.OLEDB.16.0&#8217; provider is not registered on the local machine. (System.Data) To fix this, First thing first, install &#8220;Microsoft Access Database Engine 2016 Redistributable.&#8221; https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=54920 And then also check the <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=3325\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,18,625],"tags":[724,722,723],"class_list":["post-3325","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-microsoft-office","category-sql","tag-microsoft-ace-oledb","tag-microsoft-ace-oledb-16-0","tag-microsoft-ace-oledb-16-0-provider-is-not-registered"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3325"}],"version-history":[{"count":4,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3325\/revisions"}],"predecessor-version":[{"id":3330,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3325\/revisions\/3330"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}