{"id":424,"date":"2016-11-17T05:15:21","date_gmt":"2016-11-17T05:15:21","guid":{"rendered":"http:\/\/waynenguyen.org\/dev\/?p=424"},"modified":"2016-11-17T05:15:21","modified_gmt":"2016-11-17T05:15:21","slug":"500-19-internal-server-error-the-requested-page-cannot-be-accessed-because-the-related-configuration-data-for-the-page-is-invalid","status":"publish","type":"post","link":"https:\/\/bruceng.com\/dev\/?p=424","title":{"rendered":"500.19 &#8211; Internal Server Error &#8211; The requested page cannot be accessed because the related configuration data for the page is invalid"},"content":{"rendered":"<p>Today I faced this error while trying to run a web application.<\/p>\n<p>It turned out that it was occurred in a REST request to the server to retrieve a JSON file. I tried to solve this issue by first opening IIS and check the declared MIME types under the web application, then it complained that there is a duplicate entry in the web.config file.<\/p>\n<p>It turned out that if the web.config file contains a declaration for the MIME type .json and under the application in IIS the MIME type is also declared, IIS will complain. I solved the issue by removing the MIME type declaration from the web.config file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I faced this error while trying to run a web application. It turned out that it was occurred in a REST request to the server to retrieve a JSON file. I tried to solve this issue by first opening IIS and check the declared MIME types under the web application, then it complained that &hellip; <a href=\"https:\/\/bruceng.com\/dev\/?p=424\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;500.19 &#8211; Internal Server Error &#8211; The requested page cannot be accessed because the related configuration data for the page is invalid&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[9,20,13],"class_list":["post-424","post","type-post","status-publish","format-standard","hentry","category-problems","tag-iis","tag-javascript","tag-json"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=424"}],"version-history":[{"count":1,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/424\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/424\/revisions\/425"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}