Using DOTNET API - Webpermission failed

kenjes
kenjes Member Posts: 76
Hi

I trying to use a API from NAV 2017.
But i'm getting this error :smile:

A Call to FlexAPI.Connect.Login failed with the message: Request for the permission of type 'System.Net.WebPermission, System, Version ................' failed.

Se attached

Thanks

Answers

  • vremeni4
    vremeni4 Member Posts: 323
    Hi,

    I think this is more "salesforce" question.
    The error clearly stats the the problem is caused by not passing right permissions, in your NAV code when you call "salesforce" Flex API.
    Try to use https instead.

    I hope this helps.
  • vremeni4
    vremeni4 Member Posts: 323
    Hi,

    I think this is more "salesforce" question.
    The error clearly stats the the problem is caused by not passing right permissions, in your NAV code when you call "salesforce" Flex API.
    Try to use https instead.

    I hope this helps.