Jump to content

Invalid string or buffer length


lenmor

Recommended Posts

I am getting this error:

 

Microsoft OLE DB Provider for ODBC Drivers error \'80004005\'

 

[Microsoft][ODBC Driver Manager] Invalid string or buffer length

 

/cart.asp, line 112

 

I have tried changing the datatypes but still got problems.

 

here is the table causing the error:

CREATE TABLE `orderdetails` (

`orderdetailID` bigint(20) NOT NULL auto_increment,

`orderID` bigint(100) NOT NULL default \'0\',

`productID` bigint(20) NOT NULL default \'0\',

`name` varchar(50) default NULL,

`brand` varchar(20) default NULL,

`price` float(10,0) default NULL,

`quantity` bigint(20) default NULL,

PRIMARY KEY (`orderdetailID`),

KEY `orderID` (`orderID`),

KEY `productID` (`productID`)

) TYPE=InnoDB COMMENT=\'InnoDB free: 4096 kB; (orderID) REFER surffx/orders(orderID)\'

 

 

Anyone?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.