I saw a similar problem in the past. Take a look at this, this was my issue.
Setting scanner configurations is not allowed while a read is pending. If a read is pending, the developer must call the Scanner.cancelRead() and must wait for the idle status through the register status listener before setting the configuration.
Calling SetConfig() should be done in the Status callback/Event. This way you can check that the scanner is indeed IDLE and that a scanner read is not pending.
Below is an example of how that should be done:
Thanks for the reply.
My configuration is applied to the device (i can read I2of5 code) and it does not throw an exception. It seems only the property ReportCheckDigit not work.