How to troubleshoot: “a web part or web form control on this page cannot be displayed or imported. the type could not be found or it is not registered as safe”

In case you renamed a custom web part, make sure you have renamed all the references to the web part: the .webpart file, the .cs and the all the relative methods, and if all is well, navigate to the site collection web part gallery and delete the web parts that do not work and re-deploy your solution.
it is more possible than not that the existing web part (the old one) conflicts with the one you are trying to deploy over it (the renamed one).

MGR: the Intelogist

About MGR: the Intelogist

SharePoint Server developer, turned Sitefinity developer, turned Angular developer, turned SharePoint Online consultant, turned Unily consultant, turned O365 consultant... Never a dull moment!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.