A Web Part or Web Form Control on this Page cannot be displayed or imported

Hello folks,
 
How many times have you guys faced an issue like this ?"The type could not be found or it is not registered as safe." .To resolve this, make sure that you add safe controls around your web part assembly in web.config.
 
<SafeControls>
< SafeControl Assembly=”WebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=abcdeddf23232″ Namespace=”Mywebpart.WebPart” TypeName=”*” Safe=”True” />
< /SafeControls>
 
The above ensure that your web part code is secured and wont let any anonymous users to access the web part.
 
Happy SharePointing ;-)