{"id":13338,"date":"2021-07-03T05:14:43","date_gmt":"2021-07-03T05:14:43","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=13338"},"modified":"2021-07-03T05:14:43","modified_gmt":"2021-07-03T05:14:43","slug":"mention-connection-string-web-config-file","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/","title":{"rendered":"How to Mention Connection String in web.config File?"},"content":{"rendered":"<p>You can add\/mention the connection string in the web.config file in five simple steps.<\/p>\n<p>1. Log in to the Plesk panel.<\/p>\n<p>2. Select the <strong>File<\/strong> option to open the <strong>File Manager<\/strong>.<\/p>\n<p>3. Go to the <strong>httpdocs<\/strong> folder and open the <strong>web.config<\/strong> file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13339\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg\" alt=\"\" width=\"1919\" height=\"798\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg 1919w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored-300x125.jpg 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored-768x319.jpg 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored-1024x426.jpg 1024w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>4. The file will open in the <strong>Code Editor<\/strong> window. Add the below code in the <strong>configuration<\/strong> section.<\/p>\n<pre class=\"lang:default decode:true\">&lt;connectionStrings&gt;\r\n&lt;add name=\"ConnectionString\" connectionString=\"Data Source=SERVER IP;Initial Catalog=DBname;User Id=DBuser;Password=DBuser password;\" providerName=\"System.Data.SqlClient\" \/&gt;\r\n&lt;\/connectionStrings&gt;<\/pre>\n<p>5. Once you are done, click the <strong>Save<\/strong> button.<\/p>\n<p>That&#8217;s it! With this, you will have successfully\u00a0mentioned the connection string in the web.config file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can add\/mention the connection string in the web.config file in five simple steps. 1. Log in to the Plesk panel. 2. Select the File option to open the File Manager. 3. Go to the httpdocs folder and open the web.config file. &nbsp; 4. The file will open in the Code Editor window. Add the [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,10],"tags":[2325,2326,1859,2294,2327],"class_list":["post-13338","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","category-plesk-faq","tag-how-to-mention-connection-string-in-web-config-file","tag-mention-connection-string-in-web-config-file","tag-plesk-hosting","tag-plesk-panel","tag-web-config-file"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Mention Connection String in web.config File?<\/title>\n<meta name=\"description\" content=\"This article will describe you the steps to mention the connection string in web.config file using the File Manager in the Plesk panel.\" \/>\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.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Mention Connection String in web.config File?\" \/>\n<meta property=\"og:description\" content=\"This article will describe you the steps to mention the connection string in web.config file using the File Manager in the Plesk panel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-03T05:14:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/\"},\"author\":{\"name\":\"Prasad Khartadkar\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"headline\":\"How to Mention Connection String in web.config File?\",\"datePublished\":\"2021-07-03T05:14:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/\"},\"wordCount\":95,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg\",\"keywords\":[\"How to Mention Connection String in web.config File\",\"Mention Connection String in web.config File\",\"Plesk hosting\",\"Plesk panel\",\"web.config file\"],\"articleSection\":[\"How-Tos\",\"Plesk FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/\",\"name\":\"How to Mention Connection String in web.config File?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg\",\"datePublished\":\"2021-07-03T05:14:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"This article will describe you the steps to mention the connection string in web.config file using the File Manager in the Plesk panel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg\",\"width\":1919,\"height\":798},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Mention Connection String in web.config File?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"sameAs\":[\"https:\/\/www.milesweb.in\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Mention Connection String in web.config File?","description":"This article will describe you the steps to mention the connection string in web.config file using the File Manager in the Plesk panel.","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.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/","og_locale":"en_US","og_type":"article","og_title":"How to Mention Connection String in web.config File?","og_description":"This article will describe you the steps to mention the connection string in web.config file using the File Manager in the Plesk panel.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-07-03T05:14:43+00:00","og_image":[{"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg","type":"","width":"","height":""}],"author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/"},"author":{"name":"Prasad Khartadkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"headline":"How to Mention Connection String in web.config File?","datePublished":"2021-07-03T05:14:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/"},"wordCount":95,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg","keywords":["How to Mention Connection String in web.config File","Mention Connection String in web.config File","Plesk hosting","Plesk panel","web.config file"],"articleSection":["How-Tos","Plesk FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/","name":"How to Mention Connection String in web.config File?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg","datePublished":"2021-07-03T05:14:43+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"This article will describe you the steps to mention the connection string in web.config file using the File Manager in the Plesk panel.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/07\/web_config_censored.jpg","width":1919,"height":798},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mention-connection-string-web-config-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Mention Connection String in web.config File?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=13338"}],"version-history":[{"count":1,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13338\/revisions"}],"predecessor-version":[{"id":13340,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13338\/revisions\/13340"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=13338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=13338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=13338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}