Nav 2009 WebService

rikkurikku Member Posts: 22
edited 2010-11-10 in Navision e-Commerce
Hi,

I have converted CodeUnit to WebService via Nav 2009.
Afterwards, i have called the WebService in a Sharepoint WebPart.
While accessing the WebPart through Sharepoint site, i am getting the error:
System.Net.WebException: The request failed with HTTP status 403: Forbidden.
Please help.

Thanks & Regards,
Rikku

Comments

  • kinekine Member Posts: 12,562
    I do not know how you are creating the web page, but try to make the application Fully trusted by adding this into web.config of the application:
      <trust level="Full" originUrl="" /> 
    

    Take it as hint, I need to tell you that I really do not full understand how this concept of partially and fully trusted application works and how to correct set that.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • rikkurikku Member Posts: 22
    Hi,

    I have given full trust level. Its not working.
    I have developed the page through VS2005 , with the
    add on WebPart.

    Thanks & Regards,
    Rikku
  • StevenDStevenD Member Posts: 1
    Hi rikku,

    I have the same problem, have you found a solution for this??

    Thx.
  • joehjoeh Member Posts: 32
    Have you successfully authenticated?
    Joeh Chan,
    HostLive Limited
Sign In or Register to comment.