Skip to content
+1-888-319-3663

HELP ARTICLE

Failed to convert parameter value from a String to a Decimal


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.

RECENT POSTS


Configuring Salesforce Integration User
Business Central Extension Publish Error
Re-registering a Change Data Source in Business Central on SmartConnect.com
Moving SmartConnect 21 to a new server
eConnect error 4628 - The Tracking Number (Tracking_Number) is empty

POPULAR POSTS


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships Partner All Hands Call Popdock promotions release Salesforce Salesforce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.