web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Exchange Rate Service - Connection to local Server

(0) ShareShare
ReportReport
Posted on by 5

We are trying to setup another Website containing an xml file (used floatrates xml structure as an example) hosted on the same IIS instance as our MS Dynamics NAV2016 webapp. 

Our problem is we are getting an Error 406 when we click on the Preview after creating the import.

NAVOneError.png

It sees the XML file whilst we setup the process but once the process has been setup and we want to preview the results we get that error. All settings on our IIS Website are set to defaults and we have (seemingly) nothing blocking comms between the Website and NAVOne instance.

I have checked the IIS logs and I can see the connection is successful when setting up the Exchange Rate Service (Web Response 200) but when clicking on Preview the IIS server returns 406

We can connect to the address directly from any browser with no issues.

Any ideas on how we can resolve would be great thanks.

I have the same question (0)
  • Marco Mels Profile Picture
    on at

    Hello,

    This is a very generic error, so I can only refer to the general information about it (you may have seen already):

    https://httpstatuses.com/406

    Thanks.

  • Francois.Coetzee Profile Picture
    5 on at

    Thanks Marco.

    Yes, I have read through that Error and did all the IIS Server Side suggestions/changes (e.g ensured .xml was a valid listed MIME type) from various articles on the Web but still no luck.

    Does anyone know what happens in the back end of NAV2016 for the Exchange Rate Services  ?

    • How it connects to the endpoint?
    • Does it do any validation checks before initiating the http GET to the xml file?
    • Does it use RESTful API as connectivity?

    It seems there is little to no information on the workings of this on the internet.

  • Marco Mels Profile Picture
    on at

    Hello,

    We have had questions about the requirements to use Tls1.2. Here we are using http. Is that correct? As we do not support Dynamics NAV 2016 anymore, if possible, I would suggest you consider an upgrade to a supported release or at least to latest available CU for Dynamics NAV 2016. It may not resolve this specific error, but it is the right  thing to do. First support releases for Dynamics NAV is the 2018 release.

    Thanks.

  • Francois.Coetzee Profile Picture
    5 on at

    Hi

    In this instance we are not using TLS for communication so it is a straight forward http request. Because both the Website that is hosting the XML data file and the NAV Application is residing on the same server (and port 80 is not open to any other PCs on the network) we figured http would suffice.

    Unless the access method of the Exchange Rate Services has changed in NAV2018 I am doubtful upgrading would resolve the issue. And unfortunately this decision is out of my control.

    We are trying to find a solution whereby we can feed the Exchange Rates automatically (using our own source file) using the current version of NAV.

    Rgds

    Francois

  • Francois.Coetzee Profile Picture
    5 on at

    Seems like there are no more suggestions here. We'll keep trying on our end and see if we can come up with a solution.

  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi

    I have tried many XML server with BC SaaS for exchange rate and had no issue. But when I tried XML with HTTP then it failed. Can you change the HTTP to HTTPS and try? Also if you use Postman (https://www.postman.com/) and use your link in your network what is the result?

    In addition, do you have any firewall that block anything internally?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans