We have an anonymous website (configured as shown in this blog on How to enable anonymous access in SharePoint 2013). If you make a new standard visual webpart (farm solution) and want to add it to the site, I get this error:
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 my German language:
"Ein Webpart oder Webformular-Steuerelement auf dieser Seite kann nicht angezeigt oder importiert werden. Der Typ 'VisualWebPartProject1.VisualWebPart1.VisualWebPart1, VisualWebPartProject1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xyz' wurde nicht gefunden oder ist nicht als sicher registriert."
What is wrong if a standard visual webpart with no changes could not be added to the anonymouse site? Deploying works. Safe Control Entries are automatically set and should be fine. We deploy directly in GAC and use no .wsp
in this test.