Jump to content

Bug in .NET that might catch a LV programmer


Recommended Posts

I recently discovered a bug in the .NET 2.0 framework that bit my database code in LabVIEW hard. Apparently, if you send a string to the sql.net APIs that is a certain length then you will get this bogus error.

http://support.microsoft.com/kb/971990

My workaround is to capture this error where I call the .NET API and then pad the sql string with an extra space and try the command again.

Still, kinda sad they would miss something as basic as memory block allocation in a core library.

Hope this helps someone save some time...

-John

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.