{"id":509,"date":"2013-06-14T09:00:25","date_gmt":"2013-06-14T16:00:25","guid":{"rendered":"http:\/\/www.sqldbpros.com\/?p=509"},"modified":"2014-03-03T13:40:56","modified_gmt":"2014-03-03T20:40:56","slug":"resolving-analysis-services-the-provider-sqlncli-1-is-not-registered","status":"publish","type":"post","link":"http:\/\/sqldbpros.com\/wordpress\/2013\/06\/resolving-analysis-services-the-provider-sqlncli-1-is-not-registered\/","title":{"rendered":"Resolving Analysis Services &#8220;The provider &#8216;SQLNCLI.1&#8217; is not registered&#8221;"},"content":{"rendered":"<p>I know. While everyone else is moving on to SQL 2012 here I am upgrading a SSAS 2005 cube to SQL Server 2008 R2 Analysis Services. I can hear Garth imploring me to \"<a href=\"http:\/\/www.amazon.com\/gp\/product\/B00AEBB87O\/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B00AEBB87O&amp;linkCode=as2&amp;tag=grocwine-20\" target=\"_blank\">Live in the now man!<\/a>\"<\/p>\n<p>So as I went about the mundane task of upgrading a cube from a really old version to a not so old version: WHAM! Failure!<\/p>\n<blockquote><p>Internal error: The operation terminated unsuccessfully.<br \/>\nServer: The current operation was cancelled because another operation in the transaction failed.<br \/>\nErrors in the back-end database access module. The provider 'SQLNCLI.1' is not registered.<br \/>\nThe following system error occured: Class not registered<br \/>\nErrors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of yaddayadda<br \/>\nErrors in the OLAP storage engine: An error occured while the dimension with the ID of blahblah<br \/>\nErrors in the OLAP storage engine: An error occured while the x attribute of the y dimension<\/p><\/blockquote>\n<p>Huh. Didn't see that coming.<\/p>\n<p><a href=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI-connection-error.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-512 aligncenter\" alt=\"SQLNCLI connection error\" src=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI-connection-error-e1371162651334.png\" width=\"500\" height=\"351\" \/><\/a><\/p>\n<p>So I dutifully tested my connection. Found it worked and started scratching my head. Then buried deep in the bowels of the <a href=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/sqlanalysisservices\/thread\/18353d2e-3944-448a-8f32-3c7dc4e19874\/\" target=\"_blank\">MSDN forums<\/a> I spotted the answer (conveniently not labeled as the answer).<!--more--><\/p>\n<figure id=\"attachment_517\" aria-describedby=\"caption-attachment-517\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/Live-in-the-now-Analysis-Services.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-517\" alt=\"You call moving to SQL Server 2008 &quot;upgrading&quot;? It's 2013 man!\" src=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/Live-in-the-now-Analysis-Services.png\" width=\"500\" height=\"387\" srcset=\"http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/Live-in-the-now-Analysis-Services.png 500w, http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/Live-in-the-now-Analysis-Services-300x232.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-517\" class=\"wp-caption-text\">You call moving to SQL Server 2008 \"upgrading\"? It's 2013 man!<\/figcaption><\/figure>\n<p>It turns out that when the upgrade occurs you end up with the wrong SQL Native Provider. Open up your data source designer and examine the connection string. If you see SQLNCLI.1 you have just stumbled on the source of your problem. (Yes, I'm assuming you've got the same problem as me since that's more than likely the only reason you're still reading this masterpiece of technical literature).<\/p>\n<p><a href=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI.1-connection-string1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-516 aligncenter\" alt=\"SQLNCLI.1 connection string\" src=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI.1-connection-string1.png\" width=\"500\" height=\"535\" srcset=\"http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI.1-connection-string1.png 500w, http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI.1-connection-string1-280x300.png 280w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>Hit the Edit connection string button and take a look at the Provider drop down. Native OLE DB\\SQL Native Client? There's your issue.<\/p>\n<p><a href=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI-provider-looks-fine.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-513 aligncenter\" alt=\"SQLNCLI provider looks fine\" src=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI-provider-looks-fine.png\" width=\"610\" height=\"618\" srcset=\"http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI-provider-looks-fine.png 610w, http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLNCLI-provider-looks-fine-296x300.png 296w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a>Hit the provider drop down and select \"SQL Server Native Client 10.0\" (or presumably SQL Server Native Client 11.0 if you're really hip).<\/p>\n<p><a href=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLCLNI-the-right-provider.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-510\" alt=\"SQLCLNI the right provider\" src=\"http:\/\/www.sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLCLNI-the-right-provider.png\" width=\"642\" height=\"668\" srcset=\"http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLCLNI-the-right-provider.png 642w, http:\/\/sqldbpros.com\/wordpress\/wp-content\/uploads\/2013\/06\/SQLCLNI-the-right-provider-288x300.png 288w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/a><\/p>\n<p>That should be it my friend. Hit OK and process your cube and you should be good.<\/p>\n<p>But wait! When's the last time you watched a Wayne's World clip? How about the very one where Garth says \"Live in the now!\" Well thanks to the miracle of YouTube here it is:<br \/>\n<iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/vd4zwINEcLY?rel=0\" height=\"315\" width=\"560\" allowfullscreen=\"\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I know. While everyone else is moving on to SQL 2012 here I am upgrading a SSAS 2005 cube to SQL Server 2008 R2 Analysis Services. I can hear Garth imploring me to \"Live in the now man!\" So as I went about the mundane task of upgrading a cube from a really old version [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,22,43,122,50],"tags":[171,20,34,10,12,11,101],"class_list":["post-509","post","type-post","status-publish","format-standard","hentry","category-analysis-services","category-businss-intelligence","category-microsoft-sql-server","category-ssdt-sql-server-data-tools","category-visual-studio","tag-analysis-services","tag-business-intelligence","tag-development","tag-ms-sql","tag-sql-server-2005","tag-sql-server-2008","tag-ssas"],"_links":{"self":[{"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/posts\/509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/comments?post=509"}],"version-history":[{"count":9,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/posts\/509\/revisions"}],"predecessor-version":[{"id":523,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/posts\/509\/revisions\/523"}],"wp:attachment":[{"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/media?parent=509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/categories?post=509"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sqldbpros.com\/wordpress\/wp-json\/wp\/v2\/tags?post=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}