Navision Employee portals

surya.singhsurya.singh Member Posts: 38
edited 2006-11-28 in Navision e-Commerce
Hi all,this is my first post to this site.I am trying to install navision employee portal in my application.After installation everything on server,
When I am going to Virtual Server Gallary in Share point site it is showing 4 web parts.While dropping this web part in my page it is giving the error message:
"A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe."
Pls help me .
Thanks in advance

Comments

  • krikikriki Member, Moderator Posts: 9,112
    [Topic moved from Navision forum to Navision e-Commerce forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • dpardomdpardom Member Posts: 74
    hi, same here.

    All gone ok in default iis website, but whe trying to move it to another...

    As far as I have read the file web.config must contain the info for "marked as safe" web parts, I think that the additionalinterface/employeeportal installation is the one which might have changed the web.config file.

    Maybe reinstalling it on the default and copy the web.config....
  • dpardomdpardom Member Posts: 74
    Hi,
    solved my problem.

    Added to web.config the last line in the next code, the one talking about ep.
        <SafeControls>
          <SafeControl Assembly="System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.WebControls" TypeName="*" Safe="True" />
          <SafeControl Assembly="System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.HtmlControls" TypeName="*" Safe="True" />
          <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint" TypeName="*" Safe="True" />
          <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.WebPartPages" TypeName="*" Safe="True" />
          <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.WebControls" TypeName="*" Safe="True" />
          <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.ApplicationPages" TypeName="*" Safe="True" />
          <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.SoapServer" TypeName="*" Safe="True" />
          <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Meetings" TypeName="*" Safe="True" />
          <SafeControl Assembly="Microsoft.Navision.EmployeePortal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7eb48bed34e26dda" Namespace="Microsoft.Navision.EmployeePortal.WebPartLibrary" TypeName="*" Safe="True" />
        </SafeControls>
    


    Since I was moving the EP from default web site to another maybe is not the same case as yours, I also copied all inside the default website to the new EP website (all but web.config, where I can't see any difference)

    Didn't know if was needful, but also:
    - Delete and create keys (from nav-ep-config-security)
    - stop and start web server
    - ensure that services are running. (key exchange and nas)

    Hope to be helpful

    bye
Sign In or Register to comment.