Sunday, November 14, 2010

SPGridViewWebpart.SPAlertsCounter is not registered as safe

You might get error once you deploy your reports to your SharePoint site indicating "The control type 'SPGridViewWebpart.SPAlertsCounter' is not allowed on this page. The type is not registered as safe."


You can resolve above error by inserting safe control entry inside web.config file.
<SafeControl Assembly="SPGridViewWebpart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4c163b8fd9df8b70" Namespace="SPGridViewWebpart" TypeName="*" Safe="True" />

Regards,
Ashish Chotalia

No comments:

Post a Comment