"Catastrophic Failure" or Scripting Errors with Database Queries

Last reviewed: July 10, 1997
Article ID: Q159220
The information in this article applies to:
  • Microsoft Commerce Server, version 2.0

SYMPTOMS

While running database queries, you may receive a "catastrophic failure" error or other scripting error.

CAUSE

Queries into database tables whose Binary Large Object (BLOB) columns contain NULL as a data value fail when the Content object or ActiveX Data Objects (ADO) is used. (BLOBs are the columns that typically contain LONGVARCHAR and LONGVARBINARY data. For example, in Microsoft SQL Server, TEXT and IMAGE datatypes are BLOBs.)

WORKAROUND

Check to see if you have any BLOB columns in the query. If you see scripting errors in response to queries, check the BLOB columns to make sure they do not contain NULL values. You may want to specify a default value for BLOB columns to avoid this problem.


Keywords : CommMisc kberrmsg kbfaq
Version : 2.0
Platform : WINDOWS
Issue type : kbprb
Resolution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.