{"id":893,"date":"2014-08-29T05:54:42","date_gmt":"2014-08-29T12:54:42","guid":{"rendered":"http:\/\/somethingk.com\/main\/?p=893"},"modified":"2014-08-29T05:55:19","modified_gmt":"2014-08-29T12:55:19","slug":"iis-7-5-wcf-error-could-not-find-a-base-address-that-matches","status":"publish","type":"post","link":"https:\/\/somethingk.com\/main\/iis-7-5-wcf-error-could-not-find-a-base-address-that-matches\/","title":{"rendered":"IIS 7.5 WCF Error: Could not find a base address that matches&#8230;"},"content":{"rendered":"<h3>Error<\/h3>\n<p>I received the following error while trying to run a\u00a0<a style=\"color: #f52887;\" title=\"Windows Communication Foudation\" href=\"http:\/\/en.wikipedia.org\/wiki\/Windows_Communication_Foundation\" target=\"_blank\">WCF<\/a>\u00a0application built in <a style=\"color: #f52887;\" title=\"Microsoft Visual Studio\" href=\"http:\/\/en.wikipedia.org\/wiki\/Microsoft_Visual_Studio\" target=\"_blank\">Visual Studio 2013<\/a>\u00a0running on a Windows 8\u00a0<a style=\"color: #f52887;\" title=\"Internet Information Services\" href=\"http:\/\/en.wikipedia.org\/wiki\/Internet_Information_Services\" target=\"_blank\">IIS 7.5<\/a>\u00a0server.<\/p>\n<pre>Could not find a base address that matches scheme http for \r\nthe endpoint with binding MetadataExchangeHttpBinding. \r\nRegistered base address schemes are [https].<\/pre>\n<p><a href=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-large wp-image-894\" src=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-1024x264.jpg\" alt=\"IIS Error\" width=\"1024\" height=\"264\" srcset=\"https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-1024x264.jpg 1024w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002-300x77.jpg 300w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2014\/08\/image002.jpg 1434w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<h3>Solution<\/h3>\n<p>In this instance, my mex statement was wrong, I needed to make it mexHttpsBinding instead of mexHttpBinding. For other cases, double check that your bindings are correct. I was converting everything to HTTPS and had forgotten to change the mex binding to reflect the change.<\/p>\n<pre>&lt;endpoint address=\"mex\" binding=\"mexHttpsBinding\" \r\ncontract=\"IMetadataExchange\" \/&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Error I received the following error while trying to run a\u00a0WCF\u00a0application built in Visual Studio 2013\u00a0running on a Windows 8\u00a0IIS 7.5\u00a0server. Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https]. Solution In this instance, my mex statement was wrong, I needed to make it mexHttpsBinding instead of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[177,12],"tags":[298,302,258,287,130,292,299,300,301,297,283,285],"class_list":["post-893","post","type-post","status-publish","format-standard","hentry","category-development","category-windows","tag-base-address","tag-endpoint","tag-error","tag-http","tag-https","tag-iis","tag-matches","tag-metadataexchangehttpbinding","tag-mex","tag-v7-5","tag-wcf","tag-windows-8"],"_links":{"self":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/comments?post=893"}],"version-history":[{"count":4,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/893\/revisions"}],"predecessor-version":[{"id":898,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/893\/revisions\/898"}],"wp:attachment":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/media?parent=893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/categories?post=893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/tags?post=893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}