Hi guys,
We've encountered this issue before with dd/MM/yyyy date formats on Forms and seemed to have resolved it with a restart of the services, but service and full server restarts aren't resolving the issue this time. It's a simple Forms process with a single service task to save the form to the repository. The date field on the form is failing with the error "Bad field value [9017]" when Forms runs the "Save to repository" task and tries to populate the date field in the template.
The process was working previously without any changes other than the upgrade to 10.2, so it's either something to do with the new version, something has been reset during the upgrade process, or a Windows Update has reset something.
I've checked the following:
- The date format on the Form Layout is dd/MM/yyyy
- The date format in the template is Short Date and if I create a document directly from the template the date "14/02/2017" works fine.
- The registry settings on the server/client under "Control Panel \ International" for HU\.DEFAULT and HCU are both set to en-NZ with a short date format of d/MM/yyyy
- Firefox, Chrome, and IE 10 are all set to English NZ as the default language but I get the error when using any of the browsers.
- I've tested the "Configure Fields" options in the Save to Repository task with both the date field from the form, as well as the Instance initiated date and get the same error.
- If I hard code a date in US format (e.g. 02/14/2017 for today's date) it works.
- The Forms Router service is running under a local administrator account i.e. a user account and not the "Local System" account.
So somewhere in the process the date is being converted to US format and failing but I can't work out where that's happening.
Any suggestions?
Thanks,
Mike