We're implementing a custom web part (based on this article) but it throws this error when trying to insert it into the page:
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.
We created an Empty SharePoint project, added a Web Part Item, copied code from the article, and commented out the GUID. I can post the code of the one *.CS file but didn't want to unless it's useful.
We've followed the instructions in this post. We have the following in the web.config file for this web part:
<SafeControl Assembly="CustomListWeBPart, Version=220.127.116.11, Culture=neutral, PublicKeyToken=f85e54975c551557" Namespace="CustomListWeBPart.CustomListWebPart" TypeName="*" Safe="True" SafeAgainstScript="False" />
What are we doing wrong? Thanks.