{"id":1046,"date":"2004-08-10T17:29:00","date_gmt":"2004-08-10T17:29:00","guid":{"rendered":"\/blogs\/bobb\/post\/Where-did-the-netlibs-go.aspx"},"modified":"2004-08-10T17:29:00","modified_gmt":"2004-08-10T17:29:00","slug":"where-did-the-netlibs-go","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/","title":{"rendered":"Where did the netlibs go?"},"content":{"rendered":"<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Verdana\" size=\"2\" color=\"#003300\">I&rsquo;m a person who always likes to know where things live in the OS, database, or whatever product I&rsquo;m dealing with. Being able to point to a specific DLL or configuration file or registry entry gives me something tangible to hang my hat on, rather than think that things happen &ldquo;by magic&rdquo;. <\/font>\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n&nbsp;\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Verdana\" size=\"2\" color=\"#003300\">So I was intrigued by the apparent disappearance of the network libraries in SQL Server 2005. Start with these points:<\/font>\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Verdana\" size=\"2\" color=\"#003300\">1. SQL Server 2005 B2 does not ship a new version of MDAC <br \/>\n2. SQL Server 2005 B2 does ship with SQL Native Client (<a href=\"\/blogs\/bobb\/#aa7f64240-60ae-4031-9580-05bdc10e2c93\">codename was SNAC<\/a>) with new OLE DB provider and ODBC driver. It also appears to cover network connectivity.&nbsp; In the new client config utility, all (four) supported protocols list netlibs as &ldquo;SQLNCLI.dll&rdquo;. That&#39;s SQL Native Client. <br \/>\n3. System.Data.SqlClient does not use MDAC any more <br \/>\n4. System.Data.SqlClient did use DBNETLIB.dll to talk to SQL Server in the past<\/font>\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Verdana\" size=\"2\" color=\"#003300\"><\/font>\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Verdana\" size=\"2\" color=\"#003300\">So does .NET SqlClient use SQL Native Client? Dan, Niels, and I did some experiments and it doesn&rsquo;t appear that SqlClient calls SNAC at all. We even installed .NET 2.0 on a machine without SNAC and did tests that include MARS and async (these require new protocol features). Worked fine, no SQLNCLI or DBNETLIB loaded or in sight. So how&rsquo;d they do that?<\/font>\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n&nbsp;\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Verdana\" size=\"2\" color=\"#003300\">Looking in System.Data.dll, it appears that there are some calls that start with the letters SNI. There are no calls to DBNETLIB (as there was in System.Data.dll in .NET 1.1). A quick search of Books Online yielded only references to SNI associated with Service Broker protocol (as in &ldquo;the SNI connection string for Service Broker&#8230;&rdquo;). <\/font>\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n&nbsp;\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Verdana\" size=\"2\" color=\"#003300\">So it appears that both System.Data.dll and SQLNCLI.dll implement SNI calls directly rather than calling a specific library. And that the SNI model is used by more than just client-server protocols. It is possibly used for everything that is covered by CREATE ENDPOINT. System.Data.SqlClient doesn&rsquo;t use MDAC or SNAC, but both System.Data.SqlClient and SNAC are compatible with previous versions of SQL Server, because I could use the OLE DB Native Client provider with SQL Server 2000 just fine. Hmmm.<\/font>\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n&nbsp;\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Verdana\" size=\"2\" color=\"#003300\">Stay tuned&#8230;<\/font>\n<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\">\n<font face=\"Times New Roman\" size=\"3\" color=\"#000000\"><\/font>\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&rsquo;m a person who always likes to know where things live in the OS, database, or whatever product I&rsquo;m dealing with. Being able to point to a specific DLL or configuration file or registry entry gives me something tangible to hang my hat on, rather than think that things happen &ldquo;by magic&rdquo;. &nbsp; So I [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,28],"tags":[],"class_list":["post-1046","post","type-post","status-publish","format-standard","hentry","category-data-access","category-sql-server-2005"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.9.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Where did the netlibs go? - Bob Beauchemin<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Where did the netlibs go? - Bob Beauchemin\" \/>\n<meta property=\"og:description\" content=\"I&rsquo;m a person who always likes to know where things live in the OS, database, or whatever product I&rsquo;m dealing with. Being able to point to a specific DLL or configuration file or registry entry gives me something tangible to hang my hat on, rather than think that things happen &ldquo;by magic&rdquo;. &nbsp; So I [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/\" \/>\n<meta property=\"og:site_name\" content=\"Bob Beauchemin\" \/>\n<meta property=\"article:published_time\" content=\"2004-08-10T17:29:00+00:00\" \/>\n<meta name=\"author\" content=\"Bob Beauchemin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bob Beauchemin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/\",\"name\":\"Where did the netlibs go? - Bob Beauchemin\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#website\"},\"datePublished\":\"2004-08-10T17:29:00+00:00\",\"dateModified\":\"2004-08-10T17:29:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/62bfa986c5b5d28fcffd8b4fc409c73e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Access\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/category\/data-access\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Where did the netlibs go?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/\",\"name\":\"Bob Beauchemin\",\"description\":\"SQL Server Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/62bfa986c5b5d28fcffd8b4fc409c73e\",\"name\":\"Bob Beauchemin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6f80e6cc667410857fa6a21931dc528b8092f4d112bf7a8ff7c267674d44ee37?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6f80e6cc667410857fa6a21931dc528b8092f4d112bf7a8ff7c267674d44ee37?s=96&d=mm&r=g\",\"caption\":\"Bob Beauchemin\"},\"sameAs\":[\"http:\/www.sqlskills.com\/blogs\/bobb\/\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/author\/bobb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Where did the netlibs go? - Bob Beauchemin","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/","og_locale":"en_US","og_type":"article","og_title":"Where did the netlibs go? - Bob Beauchemin","og_description":"I&rsquo;m a person who always likes to know where things live in the OS, database, or whatever product I&rsquo;m dealing with. Being able to point to a specific DLL or configuration file or registry entry gives me something tangible to hang my hat on, rather than think that things happen &ldquo;by magic&rdquo;. &nbsp; So I [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/","og_site_name":"Bob Beauchemin","article_published_time":"2004-08-10T17:29:00+00:00","author":"Bob Beauchemin","twitter_misc":{"Written by":"Bob Beauchemin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/","url":"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/","name":"Where did the netlibs go? - Bob Beauchemin","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#website"},"datePublished":"2004-08-10T17:29:00+00:00","dateModified":"2004-08-10T17:29:00+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/62bfa986c5b5d28fcffd8b4fc409c73e"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/where-did-the-netlibs-go\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/bobb\/"},{"@type":"ListItem","position":2,"name":"Data Access","item":"https:\/\/www.sqlskills.com\/blogs\/bobb\/category\/data-access\/"},{"@type":"ListItem","position":3,"name":"Where did the netlibs go?"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/bobb\/","name":"Bob Beauchemin","description":"SQL Server Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/bobb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/62bfa986c5b5d28fcffd8b4fc409c73e","name":"Bob Beauchemin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6f80e6cc667410857fa6a21931dc528b8092f4d112bf7a8ff7c267674d44ee37?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6f80e6cc667410857fa6a21931dc528b8092f4d112bf7a8ff7c267674d44ee37?s=96&d=mm&r=g","caption":"Bob Beauchemin"},"sameAs":["http:\/www.sqlskills.com\/blogs\/bobb\/"],"url":"https:\/\/www.sqlskills.com\/blogs\/bobb\/author\/bobb\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/posts\/1046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/comments?post=1046"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/posts\/1046\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/media?parent=1046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/categories?post=1046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/tags?post=1046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}