I have a custom made Web Part that I want to add to a page in my SharePoint site. But I'm having this error message every time:
A Web Part or Web Form Control on this Page cannot be displayed or imported. The type SharePointProject1.WebPartName.WebPartName, SharePointProject1, Version=220.127.116.11, Culture=neutral, PublicKeyToken=32e59cf2728706a0 could not be found or it is not registered as safe.
I have activated the solution feature at the site collection level.
I have also ensured that the safe control entries are enabled. as well as editing the xml file to set
SafeControl entry to
true. Then I removed and uninstalled the solution and installed it again. But still same error message. So what am I missing here?