{"id":154,"date":"2009-05-15T11:23:54","date_gmt":"2009-05-15T09:23:54","guid":{"rendered":"http:\/\/dev.flauschig.ch\/wordpress\/?p=154"},"modified":"2009-05-15T11:26:24","modified_gmt":"2009-05-15T09:26:24","slug":"wcf-service-on-iis7","status":"publish","type":"post","link":"http:\/\/dev.flauschig.ch\/wordpress\/?p=154","title":{"rendered":"WCF Service on IIS7"},"content":{"rendered":"<p>When you try to access a WCF-Service with your Browser you might see the following Error:<\/p>\n<blockquote>\n<h4><span style=\"color: #ff0000;\">HTTP Error 404.3 &#8211; Not Found<\/span><\/h4>\n<p><span style=\"color: #ff0000;\">The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.<\/span><\/p><\/blockquote>\n<p>If that happens, you probably don&#8217;t have  the Service Model registered with your IIS.<\/p>\n<p>Here&#8217;s how to register it:<\/p>\n<ol>\n<li>Start the command window (cmd) as an Administrator.<\/li>\n<li>Navigate to:<br \/>\nC:\\Windows\\Microsoft.NET\\Framework\\v3.0\\Windows Communication Foundation\\<\/li>\n<li>In case you are running on a 64Bit machine, than navigate to:<br \/>\nC:\\Windows\\Microsoft.NET\\Framework64\\v3.0\\Windows Communication Foundation\\<\/li>\n<li>Run the following Command: ServiceModelReg \u2013i<\/li>\n<\/ol>\n<p>You now should be able to access your Webservice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you try to access a WCF-Service with your Browser you might see the following Error: HTTP Error 404.3 &#8211; Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. If &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5,3],"tags":[19,17,18,20,16],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-roemer","4":"post-154","6":"format-standard","7":"category-asp","8":"category-programming","9":"post_tag-19","10":"post_tag-handler","11":"post_tag-iis","12":"post_tag-svc","13":"post_tag-wcf"},"acf":[],"views":2275,"_links":{"self":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/154"}],"collection":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=154"}],"version-history":[{"count":0,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/154\/revisions"}],"wp:attachment":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}