Options

The request failed with HTTP status 401: Unauthorize

TFCrowtherTFCrowther Member Posts: 35
edited 2012-11-21 in NAV Tips & Tricks
Hi

Quick tip that may help...

NAV 2009 R2 - 3-tier setup getting the following error when accessing the NAV Web Services:

System.InvalidOperationException: General Error http://abc-svr-nav1:7047/DynamicsNAV/WS/Services ---> System.Net.WebException: There was an error downloading 'http://abc-svr-nav1:7047/DynamicsNAV/WS/Services'. ---> System.Net.WebException: The request failed with HTTP status 401: Unauthorized.


In the CustomSettings.config try
<add key="WebServicesUseNTLMAuthentication" value="true"></add>

and restart the service.

Comments

  • Options
    krikikriki Member, Moderator Posts: 9,096
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Tips & Tricks' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.