Application Event 100 ExceptionType:System.FormatException Message:String was not recognized as a valid DateTime


Version: R70

Article ID: PC000039

Application Event 100  ExceptionType:System.FormatException Message:String was not recognized as a valid DateTimemain image

Description

This error can be generated by the Data Transfer Agent service when attempting to transmit batches to a PaperVision Capture Server that uses a different Windows Regional Setting than the machine transmitting the batch.

Example of error:

A common example of this issue appears when a client machine is using a Regional Setting of English (Canada) and the server is using English (United States). The root cause is the date/time format of English (United States) is MM/DD/YYYY and the English (Canada) date/time format is DD/MM/YYYY.

Application Event 100
ExceptionType:System.FormatException
Message:String was not recognized as a valid DateTime.
Data:System.Collections.ListDictionaryInternal
TargetSite:System.DateTimeParse
ApplicationDomain:DSI.DataTransferAgent.Service.exe
ProcessName:C:\ProgramFiles\DigitechSystems\PaperVisionCapture\DSI.DataTransferAgent.Service.exe


Summary

This error happens because the server expects the first 2 digits to range from 1-12. The PaperVision Capture server may work properly for a while, but when the first two digits exceed 12 the error will be generated until the following month when the first two digits enter the expected range of 1-12.

To resolve this, change the Regional Settings so that all PaperVision Capture machines are using the same date/time format.