{"id":801,"date":"2011-08-16T14:13:28","date_gmt":"2011-08-16T17:13:28","guid":{"rendered":"http:\/\/www.franklinjr.com\/blog\/?p=801"},"modified":"2011-08-16T14:13:28","modified_gmt":"2011-08-16T17:13:28","slug":"the-entry-connectionstring-has-already-been-added","status":"publish","type":"post","link":"https:\/\/www.franklinjr.com\/blog\/index.php\/2011\/08\/16\/the-entry-connectionstring-has-already-been-added\/","title":{"rendered":"The entry &#8216;connectionString&#8217; has already been added."},"content":{"rendered":"<p>Tu tem uma aplica\u00e7\u00e3o em asp.net que tenta fazer conex\u00e3o com o banco de dados, mas quando acessa ela ocorre o erro<\/p>\n<p><span style=\"color: #ff0000;\">The entry &#8216;connectionString&#8217; has already been added.<\/span><\/p>\n<p>Faz o seguinte, no teu web.config, antes do elemento &lt;add\/&gt; da configura\u00e7\u00e3o da conex\u00e3o, insere um &lt;clear\/&gt;, ficando algo como<\/p>\n<p><span style=\"color: #008000;\">&lt;clear\/&gt;<br \/>\n&lt;add name=&#8221;connectionString&#8221;&#8230;<\/span><\/p>\n<p><span style=\"color: #008000;\"><span style=\"color: #000000;\">Ap\u00f3s recicla a pool de aplicativo que teu site utiliza e faz um novo teste.<\/span><br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tu tem uma aplica\u00e7\u00e3o em asp.net que tenta fazer conex\u00e3o com o banco de dados, mas quando acessa ela ocorre o erro The entry &#8216;connectionString&#8217; has already been added. Faz o seguinte, no teu web.config, antes do elemento &lt;add\/&gt; da configura\u00e7\u00e3o da conex\u00e3o, insere um &lt;clear\/&gt;, ficando algo como &lt;clear\/&gt; &lt;add name=&#8221;connectionString&#8221;&#8230; Ap\u00f3s recicla a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[425,51],"tags":[433,570,428],"class_list":["post-801","post","type-post","status-publish","format-standard","hentry","category-iis","category-windows","tag-net","tag-asp-net","tag-aspx"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>The entry &#039;connectionString&#039; has already been added. - Franklin Jr.<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.franklinjr.com\/blog\/index.php\/2011\/08\/16\/the-entry-connectionstring-has-already-been-added\/\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/index.php\\\/2011\\\/08\\\/16\\\/the-entry-connectionstring-has-already-been-added\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The entry &#8216;connectionString&#8217; has already been added.\"}]}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The entry 'connectionString' has already been added. - Franklin Jr.","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.franklinjr.com\/blog\/index.php\/2011\/08\/16\/the-entry-connectionstring-has-already-been-added\/","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.franklinjr.com\/blog\/index.php\/2011\/08\/16\/the-entry-connectionstring-has-already-been-added\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.franklinjr.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The entry &#8216;connectionString&#8217; has already been added."}]}]}},"_links":{"self":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=801"}],"version-history":[{"count":1,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/801\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/801\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}