Datetime objects not working correctly
Problem
Datetime objects coming from datetime-formfields can not be converted to DateTime-objects and ends up with event log errors.
For example the following error:
Cannot bind parameter "Date". Cannot convert value "09/29/2016 21:00:00" to type "System.Datetime". Error: "String was not recognized as a valid DateTime.""
Solution
This is because some date and time-formats break the format that is used by ZervicePoint (the following format: "09/29/2016 21:00:00"). For example if date and time-format sv-FI is used.
So you need to switch the date and time-format to something that accepts datetime objects in format: "09/29/2016 21:00:00". For example sv-SE.
- Log in as the backend account (Services) on the server hosting Process System
- Launch control panel (Windows-key and search for control panel)
- Navigate to Clock, Language, And Region
- Click Region
- In Format: select a compatible datetime format. For example sv-SE