Menu
Download Free Trial

Error when sending stream.read

Hello!
In my project, i use WebApi to develper the back end.
I used the routine of exemple existing in web site using FlexMonster.Compressor.
This soluction Worked very well, but if any column have dbNull value, the routine That reads the stream, generate the error:
“Object can not be converted from DBNull to other types”
You have any soluction for this problem without having to modify the dbNull value to zero?

Attachments:
Capturar.jpg

2 answers

Public
Tanya Gryshko Flexmonster May 8, 2017

Hello Cleyton,
Thank you for reporting the issue. We will make a fix to handle DbNull properly within 2.316 minor release (ETA May 22). Please send us your database dump if possible. This would be very helpful.
Regards,
Tanya

Public
Dmytro Zvazhii Flexmonster May 22, 2017

Hello Cleyton,
I am glad to inform you that the DbNull fix is ready in the version 2.316 which is available for download now.
You are welcome to update the component.
Kind regards,
Dmytro.

Please login or Register to Submit Answer