Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

You may see an error when a four digit number is entered into a response box for an Int value (Single Line/Integer) field in a dialog form in Dynamics CRM 2011:

An exception System.FormatException was thrown while trying to convert input value '2,000' to attribute 'new_custom.new_year'. Expected type of attribute value: System.Int32. Exception raised: Input string was not in a correct format.

Symptoms

The issue is cause when CRM attempts to apply local culture formatting to the response (ie. add a comma) 

Cause

This issue is resolved with the latest Update Rollup for Dynamics CRM 2011 which can be downloaded from the following location: http://support.microsoft.com/kb/2555051

However, dialog processes that were created before Update Rollup 5 will need to be manually updated to stop the error message from occurring.

Correct the Dialog with these steps:

1. Deactivate the offending dialog.

2. Open all "possible offending query steps" in the dialog.

3. Hit Save and Close without making any changes. This will automatically update the dialog for correct functioning.


Resolution

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×