Options

Fill BLOB from VB.NET

kinekine Member Posts: 12,562
Hello,

I am testing some code in vb.net and now I want to write some text from text box into BLOB field, to be able export this text into file and show it from Navision. The field is in vb.net showed as Base64 field, I tried to write data encoded into Base64, but when I want to export data within navision, this error is reised: "The xxx table contains a BLOB field with invalid compression data: Record:... Field:..."

How to write data into blob field on MS SQL from vb.net to be able to export this data within Navision?

And one information for you:

I am newbie in VB.NET... ;-)

Thanks
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.

Comments

  • Options
    fbfb Member Posts: 246
    See the help in the C/SIDE Reference Guide on the 'Compression' property.

    The finsql client (and cfrontsql.dll) do some sort of compression on BLOB contents unless the Compression property is turned off. You have to turn compression off for those BLOBs that you wish to read/write using external tools.
  • Options
    kinekine Member Posts: 12,562
    Thanks, I overlooked this property... I'll try it...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.