Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type GalleryWebpartCsom.VisualWebPart1.VisualWebPart1, GalleryWebpartCsom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=efa7271855b01a51 could not be found or it is not registered as safe. Correlation ID: c3e366a1-28d9-b05a-5101-38f45d7b8166.
Error Details:
[UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type GalleryWebpartCsom.VisualWebPart1.VisualWebPart1, GalleryWebpartCsom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=efa7271855b01a51 could not be found or it is not registered as safe.]
at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Boolean isAppWeb, Guid guid, Guid solutionId, Nullable`1 solutionWebId, String assemblyFullName, String typeFullName, Boolean throwIfNotSafe)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)