Err Msg: Microsoft OLE DB Provider for ODBC Drivers Error '80040e14'ID: Q223758
|
When you attempt to add or update an item in a Microsoft Site Server 3.0 Commerce store, an error similar to one of the following occurs:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Cursor open failed because the size of the keyset row exceeded maximum allowed row size. /storename/manager/product_edit.asp, line 27
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Cursor open failed because the size of the keyset row exceeded maximum allowed row size.
/storename/xt_orderform_additem.asp, line 39
The total number of bytes allocated for all product attributes exceeds the maximum number of bytes per row that SQL Server allows. SQL Server 6.5 allows a maximum row size of 1962 bytes and SQL Server 7.0 allows a maximum row size of 8060 bytes.
By default, the Site Builder Wizard allocates the following:
The maximum number of bytes per row is hard coded into SQL Server, so the only way to overcome this problem is to override the default allocation of 255 bytes per static single valued attribute. To do this, perform the following steps:
WARNING: Performing these steps will delete all records from the existing store tables.
CREATE TABLE yourstorename_product(
sku VARCHAR(100) NOT NULL,
name VARCHAR(255) NULL,
description VARCHAR(255) NULL,
list_price INT NULL,
image_file VARCHAR(255) NULL,
image_width INT NULL,
image_height INT NULL,
sale_price INT NULL,
sale_start DATETIME NULL,
sale_end DATETIME NULL,
customattribute1 VARCHAR(255) NULL,
customattribute2 VARCHAR(255) NULL,
customattribute3 VARCHAR(255) NULL,
customattribute4 VARCHAR(255) NULL,
customattribute5 VARCHAR(255) NULL,
customattributeN VARCHAR(255) NULL,
PRIMARY KEY (sku)
) GO
CREATE TABLE yourstorename_product(
sku VARCHAR(100) NOT NULL,
name VARCHAR(255) NULL,
description VARCHAR(255) NULL,
list_price INT NULL,
image_file VARCHAR(255) NULL,
image_width INT NULL,
image_height INT NULL,
sale_price INT NULL,
sale_start DATETIME NULL,
sale_end DATETIME NULL,
customattribute1 VARCHAR(10) NULL,
customattribute2 VARCHAR(20) NULL,
customattribute3 VARCHAR(30) NULL,
customattribute4 VARCHAR(30) NULL,
customattribute5 VARCHAR(50) NULL,
customattributeN VARCHAR(100) NULL,
PRIMARY KEY (sku)
) GO
Additional query words:
Keywords : sitesrv3faq
Version : winnt:3.0
Platform : winnt
Issue type : kbprb
Last Reviewed: May 3, 1999