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 :
Microsoft Dynamics AX (Archived)

an exchange rate could not be found for iso currency code usd and cad on the following date

(0) ShareShare
ReportReport
Posted on by

I try to import new exchange rates but I get a long list of warnings/errors, an d at the end it says no exchange rates have been imported.

i will post some screenshots of how my exchange setup looks like.

Screenshot_5F00_4.jpg

When I try to open the ServiceURL in my browser I get an error 404. (www.nationalbanken.dk/.../valutakurser.xml)

Screenshot_5F00_5.jpg

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    If you try to import data from invalid URL, it's no surprise that it doesn't work. Change the URL to a valid address.

  • Community Member Profile Picture
    on at

    Hi Martin

    I have corrected the URL, but I still get the same error.

  • André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at

    Hi Mahyar,

    Please check if some traffic is blocked by a firewall or proxy settings. This was a reason at some customers where I have faced the same problem.

  • Community Member Profile Picture
    on at

    Hi André I think you are right. I will talk to the Operation department tomorrow and I will let you know.

  • Community Member Profile Picture
    on at

    Hi André

    It seems that the URL is open and no firewall is blocking it, when I try to open the url on the server. But I still get the same error in AX. Should I create a new "Inbound port" in AX maybe?

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    Inbound ports are used for exposing AX services to other applications, which is completely opposite to what the import does. It can't help you in any way.

    Instead, ensure yourself that the service returns correct data (namely rates for USD and CAD). If not, they obviously can't be imported. If they're there, debug the code that import it to AX.

  • Community Member Profile Picture
    on at

    Hi Martin

    the service returns the correct exchange rates when I try it in the browser. But it seems that AX doesnt read them correctly.

  • André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at

    Hi Mahyar,

    Or you try to import exchange rates on a date in a weekend or the service cannot connect to the internet. At a customer we had the same experience where a user on the AOS was able to open the web URL, but still the service raised an error. It appeared that the AOS service account did not have internet access due to proxy settings. AX is not proxy aware. We modified the coding of the exchange rate provider to provide login details so it could pass the proxy server.

  • Community Member Profile Picture
    on at

    Can I ask you which class/form you did modify to solve the problem?

  • André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at

    Hi Mahyar,

    The change was done in Visual Studio as the problem was related to the ECB provider which was built in .NET. Is your provider created in x++ or using .NET?

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans