Web part not registered on this site as safe

novembre 18, 2011

« A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe. »

Il faut ajouter une ligne dans le web.config dans « <SafeControls> ».

<SafeControl Assembly= »ASSEMBLYWP, Version=VERSION, Culture=neutral, PublicKeyToken=PUBLIKEYTOKEN » Namespace= »NAMESPACE » TypeName= »* » Safe= »True » SafeAgainstScript= »False » />

Tags:

1 Response

  1. ah ok, je comprend mieux maintenant pourquoi ça marchait pas!
    Merci simon :)

Leave a Reply