“The type is not registered as safe” when trying to add a web part installed by a WSP

Sep 15, 2014 at 9:29 PM
I installed the web part and it works without problems. then I moved to another environment and it's also OK except that when I wanted to insert the web part in a page I got the following error: “The type is not registered as safe”"
Can someone help me?
Coordinator
Oct 26, 2014 at 9:42 AM
You must modify web.config file of your web application and add tag:
<SafeControl Assembly="UsersADBrowser, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a1d1f24b7f649a42" Namespace="UsersADBrowser.WebParts" TypeName="*" Safe="True" />

in section <SafeControls />