{"id":115,"date":"2015-07-20T10:40:00","date_gmt":"2015-07-20T10:40:00","guid":{"rendered":"http:\/\/waynenguyen.org\/dev\/2015\/07\/20\/webpart-not-registered-as-safe-safe\/"},"modified":"2016-05-21T03:15:55","modified_gmt":"2016-05-21T03:15:55","slug":"webpart-not-registered-as-safe-safe","status":"publish","type":"post","link":"https:\/\/bruceng.com\/dev\/?p=115","title":{"rendered":"Webpart not registered as safe, safe control"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\">\nSafe control troubleshoot checklist<\/p>\n<p><\/p>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;\">\n-Make sure the site URL is correct, don\u2019t deploy to the wrong site and expect it to work<\/div>\n<p>-The namespace in .webpart and Element.xml files are correct.<\/p>\n<p>Sometimes re-activating the feature may help.<\/p>\n<p>If you renamed the webpart in Visual Studio, do a Find All in file and search for the old webpart name to make sure all references are updated.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Safe control troubleshoot checklist -Make sure the site URL is correct, don\u2019t deploy to the wrong site and expect it to work -The namespace in .webpart and Element.xml files are correct. Sometimes re-activating the feature may help. If you renamed the webpart in Visual Studio, do a Find All in file and search for the &hellip; <a href=\"https:\/\/bruceng.com\/dev\/?p=115\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Webpart not registered as safe, safe control&#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":[1],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/115","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=115"}],"version-history":[{"count":1,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":235,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions\/235"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}