Back

Failed to convert parameter value from a String to a Decimal

Published: Mar 26, 2014
Post Author Written by David Youngquist

Running a map with dollar amounts mapped to it.  For each transaction that tries to get imported, receiving an error that says “Failed to convert parameter value from a String to a Decimal”.  The odd thing is if the transaction amounts are integers, the map runs.  It’s only when decimal places are added to the values that the map fails with this error.


Make sure that the service account that is assigned to your eConnect service is using the same regional settings as the data you are trying to import. For example, your dollar values in your source file are using the US currency format 100.99 (using a period as a decimal separator).

If your eConnect service accounts regional settings are set to French Canadian, their format is 100,99 (using a comma as the decimal separator). When you run the map, it’s running under that users context and expecting to see 100,99 for a value, and it’s receiving 100.99 from the source file. This will give you the error “Failed to convert parameter value from a String to a Decimal” because it doesn’t understand the period.
To change the regional settings on the user do the following:
Go to Start – Run and type in services.msc
In the Windows services fine the “eConnect for Microsoft Dynamics 20XX Integration Service”. Right click on it and go to Properties, then go to the Log On tab. Write down the user ID that is used there.
Login to Windows as the user you found above. Then go to Start – Run and type in “Control international” This will open the regional settings window.
Change the regional settings to match the format your data is in. After doing this, restart the eConnect service by right clicking on it and picking restart.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.