Need a special offer?Find out if your project fits.
+

Error when sending stream.read

Answered
Cleyton Barroso asked on May 5, 2017

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 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 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