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

Announcements

No record found.

News and Announcements icon
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
    239,419 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
    304,625 Super User 2026 Season 1 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
    239,419 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
    304,625 Super User 2026 Season 1 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
    304,625 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans