Web Part Error (web part not registered on this site as safe) - Sharepoint

This is a discussion on Web Part Error (web part not registered on this site as safe) - Sharepoint ; I received the following error when trying to open a Sharepoint Web Part. Can anyone help? A web part or webform control on this web part page cannot be displayed or imported because it is not registered on this site ...

+ Reply to Thread
Results 1 to 7 of 7

Web Part Error (web part not registered on this site as safe)

  1. Default Web Part Error (web part not registered on this site as safe)

    I received the following error when trying to open a Sharepoint Web Part.
    Can anyone help?

    A web part or webform control on this web part page cannot be displayed or
    imported because it is not registered on this site as safe.

    Regards,
    Diane

  2. Default Re: Web Part Error (web part not registered on this site as safe)

    Hi Diane

    Is this a built in WebPart or a custom one?

    Either way the first place to check is to make sure that the assembly is
    registered as safe in the web.config file.

    "Diane" <Diane@discussions.microsoft.com> wrote in message
    news:A1F1172C-B3E8-4B03-A75D-A81F2F26C208@microsoft.com...
    >I received the following error when trying to open a Sharepoint Web Part.
    > Can anyone help?
    >
    > A web part or webform control on this web part page cannot be displayed or
    > imported because it is not registered on this site as safe.
    >
    > Regards,
    > Diane




  3. Default Re: Web Part Error (web part not registered on this site as safe)

    It is custom. The web.config has the assembly as safe. Someone suggested
    that I make the trust level as full.

    I have a <securityPolicy) with settings of
    <trustLevel name="WSS_Medium" policyFile="c:\........">
    <trustLevel name='WSS_Minimal" policyFile="c:\.........">

    Then there is
    <trust level="Full" originalURL=""
    processRquestInApplicationTrust=flase"></trust>

    The documentation that came with the webparts said to change WSS_Minimal to
    Full, but I don't see a path for the policyFile for anything called full.

    I hope this message makes some sense - it may not and I am new at this ;-(

    Any help would be greatly appreciated.

    Regards,
    Diane

    "Andy Bonner" wrote:

    > Hi Diane
    >
    > Is this a built in WebPart or a custom one?
    >
    > Either way the first place to check is to make sure that the assembly is
    > registered as safe in the web.config file.
    >
    > "Diane" <Diane@discussions.microsoft.com> wrote in message
    > news:A1F1172C-B3E8-4B03-A75D-A81F2F26C208@microsoft.com...
    > >I received the following error when trying to open a Sharepoint Web Part.
    > > Can anyone help?
    > >
    > > A web part or webform control on this web part page cannot be displayed or
    > > imported because it is not registered on this site as safe.
    > >
    > > Regards,
    > > Diane

    >
    >
    >


  4. Default Re: Web Part Error (web part not registered on this site as safe)

    What the document is refering to is the trust level which by default is set
    to WSS_Minimal.

    From the look of your web.config file it's already set to full. i.e.

    <trust level="Full" originalURL=""
    processRquestInApplicationTrust=false"></trust>

    From the error message I'd double check how you've got the assembly setup in
    the SafeControls section of the web.config file as that seems to be what
    it's conplaining about.

    Your are doing an iisreset after you modify the web.config file aren't you?
    As any changes you make in there don't take effect until after you've done
    that.

    "Diane" <Diane@discussions.microsoft.com> wrote in message
    news:BBC94880-158D-4C1E-948B-39BA3C393D92@microsoft.com...
    > It is custom. The web.config has the assembly as safe. Someone suggested
    > that I make the trust level as full.
    >
    > I have a <securityPolicy) with settings of
    > <trustLevel name="WSS_Medium" policyFile="c:\........">
    > <trustLevel name='WSS_Minimal" policyFile="c:\.........">
    >
    > Then there is
    > <trust level="Full" originalURL=""
    > processRquestInApplicationTrust=flase"></trust>
    >
    > The documentation that came with the webparts said to change WSS_Minimal
    > to
    > Full, but I don't see a path for the policyFile for anything called full.
    >
    > I hope this message makes some sense - it may not and I am new at this ;-(
    >
    > Any help would be greatly appreciated.
    >
    > Regards,
    > Diane
    >
    > "Andy Bonner" wrote:
    >
    >> Hi Diane
    >>
    >> Is this a built in WebPart or a custom one?
    >>
    >> Either way the first place to check is to make sure that the assembly is
    >> registered as safe in the web.config file.
    >>
    >> "Diane" <Diane@discussions.microsoft.com> wrote in message
    >> news:A1F1172C-B3E8-4B03-A75D-A81F2F26C208@microsoft.com...
    >> >I received the following error when trying to open a Sharepoint Web
    >> >Part.
    >> > Can anyone help?
    >> >
    >> > A web part or webform control on this web part page cannot be displayed
    >> > or
    >> > imported because it is not registered on this site as safe.
    >> >
    >> > Regards,
    >> > Diane

    >>
    >>
    >>




  5. Default Re: Web Part Error (web part not registered on this site as safe)

    Hi Diane

    Just had another thought as to where the problem might be having run into it
    when deploying one of my WebParts.

    Although the web.config file looks right is it the correct web.config file?

    For instance if your site your trying to use it on isn't the default web
    site but a virtual one then that will have it's own web.config file & you'll
    need to change that one to add the assembly to the SafeControls section.

    If it is a virtual directory then look in
    C:\Inetpub\wwwroot\wss\VirtualDirectories for the sub directory for your
    site & you should see it has it's own web.config file.

    "Diane" <Diane@discussions.microsoft.com> wrote in message
    news:BBC94880-158D-4C1E-948B-39BA3C393D92@microsoft.com...
    > It is custom. The web.config has the assembly as safe. Someone suggested
    > that I make the trust level as full.
    >
    > I have a <securityPolicy) with settings of
    > <trustLevel name="WSS_Medium" policyFile="c:\........">
    > <trustLevel name='WSS_Minimal" policyFile="c:\.........">
    >
    > Then there is
    > <trust level="Full" originalURL=""
    > processRquestInApplicationTrust=flase"></trust>
    >
    > The documentation that came with the webparts said to change WSS_Minimal
    > to
    > Full, but I don't see a path for the policyFile for anything called full.
    >
    > I hope this message makes some sense - it may not and I am new at this ;-(
    >
    > Any help would be greatly appreciated.
    >
    > Regards,
    > Diane
    >
    > "Andy Bonner" wrote:
    >
    >> Hi Diane
    >>
    >> Is this a built in WebPart or a custom one?
    >>
    >> Either way the first place to check is to make sure that the assembly is
    >> registered as safe in the web.config file.
    >>
    >> "Diane" <Diane@discussions.microsoft.com> wrote in message
    >> news:A1F1172C-B3E8-4B03-A75D-A81F2F26C208@microsoft.com...
    >> >I received the following error when trying to open a Sharepoint Web
    >> >Part.
    >> > Can anyone help?
    >> >
    >> > A web part or webform control on this web part page cannot be displayed
    >> > or
    >> > imported because it is not registered on this site as safe.
    >> >
    >> > Regards,
    >> > Diane

    >>
    >>
    >>




  6. Default RE: Web Part Error (web part not registered on this site as safe)



    "Diane" wrote:

    > I received the following error when trying to open a Sharepoint Web Part.
    > Can anyone help?
    >
    > A web part or webform control on this web part page cannot be displayed or
    > imported because it is not registered on this site as safe.
    >
    > Regards,
    > Diane


  7. Default RE: Web Part Error (web part not registered on this site as safe)

    Your administrator should create a "trusted" location (document library) that
    you will post your 'source' document to. Right click on the document to copy
    the shortcut, and navigate to your webpart where you want to display the
    document. Select to modify and paste the url (address) of the source document
    in the field. This works for me using Excel Services, but getting links to
    remain active after displaying has proven problematic for me. Hope this helps.

    "Diane" wrote:

    > I received the following error when trying to open a Sharepoint Web Part.
    > Can anyone help?
    >
    > A web part or webform control on this web part page cannot be displayed or
    > imported because it is not registered on this site as safe.
    >
    > Regards,
    > Diane


+ Reply to Thread

Similar Threads

  1. SharePoint update problem with not safe web part
    By Application Development in forum Sharepoint
    Replies: 0
    Last Post: 10-18-2007, 07:37 AM
  2. Trouble adding ListView web part in a custom web part
    By Application Development in forum Sharepoint
    Replies: 0
    Last Post: 10-18-2007, 06:47 AM
  3. My Site - My Inbox Web Part
    By Application Development in forum Sharepoint
    Replies: 0
    Last Post: 08-31-2007, 12:48 PM
  4. Replies: 0
    Last Post: 07-23-2007, 04:38 AM
  5. Web Part Registered As Not Safe
    By Application Development in forum Sharepoint
    Replies: 1
    Last Post: 07-26-2006, 10:45 PM