{"id":1052,"date":"2018-05-15T10:58:19","date_gmt":"2018-05-15T08:58:19","guid":{"rendered":"http:\/\/sqlkover.com\/?p=1052"},"modified":"2020-09-10T11:12:51","modified_gmt":"2020-09-10T09:12:51","slug":"issue-while-using-sqlcompare-against-azure-sql-db","status":"publish","type":"post","link":"https:\/\/sqlkover.com\/issue-while-using-sqlcompare-against-azure-sql-db\/","title":{"rendered":"Issue while using SQLCompare against Azure SQL DB"},"content":{"rendered":"<body><p><\/p>I\u2019ve encountered an issue while trying to compare a local SQL Server database against an Azure SQL DB using <a href=\"https:\/\/www.red-gate.com\/products\/sql-development\/sql-compare\/\" target=\"_blank\" rel=\"noopener noreferrer\">Redgate SQLCompare<\/a>. When trying to specify my credentials, I got the following error: \u201cUnable to load adalsql.ddl\u201d.\n<p id=\"NdiLZHS\"><img decoding=\"async\" width=\"480\" height=\"260\" class=\"alignnone size-full wp-image-1053 \" src=\"http:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa01f1b188.png\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa01f1b188.png 480w, https:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa01f1b188-300x163.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>Following that link actually leads you to a helpful page, where you can download the <strong>Active Directory Authentication Library for SQL Server<\/strong>. However, during set-up I got the following message:<\/p>\n<p id=\"aKSgFVF\"><img decoding=\"async\" class=\"alignnone  wp-image-1054 \" src=\"http:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa08141d61.png\" alt=\"\" width=\"482\" height=\"234\" loading=\"lazy\" srcset=\"https:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa08141d61.png 595w, https:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa08141d61-300x146.png 300w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><\/p>\n<p>Ugh. What you need to do is go to Control Panel and remove the program from the list, then re-install it again. Problem fixed! Keep in mind you cannot use the dropdown to select the database when connecting to Azure SQL DB, you need to type in the database name yourself. Otherwise you get this error:<\/p>\n<p id=\"MNtAUlz\"><img decoding=\"async\" width=\"428\" height=\"81\" class=\"alignnone size-full wp-image-1055 \" src=\"http:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa0df151f6.png\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa0df151f6.png 428w, https:\/\/sqlkover.com\/wp-content\/uploads\/2018\/05\/img_5afaa0df151f6-300x57.png 300w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/p>\n<p>The reason behind this is that you cannot connect directly to the master database in Azure.<\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>I\u2019ve encountered an issue while trying to compare a local SQL Server database against an Azure SQL DB using Redgate SQLCompare. When trying to specify my credentials, I got the following error: \u201cUnable to load adalsql.ddl\u201d. Following that link actually leads you to a helpful page, where you can download the Active Directory Authentication Library [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[157,4],"tags":[158,19,182,16],"class_list":["post-1052","post","type-post","status-publish","format-standard","hentry","category-azure","category-sqlserver","tag-azure","tag-sql-server","tag-sqlcompare","tag-syndicated"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/posts\/1052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/comments?post=1052"}],"version-history":[{"count":1,"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/posts\/1052\/revisions"}],"predecessor-version":[{"id":1452,"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/posts\/1052\/revisions\/1452"}],"wp:attachment":[{"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/media?parent=1052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/categories?post=1052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqlkover.com\/wp-json\/wp\/v2\/tags?post=1052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}