harmankardon
Registered User.
- Local time
- Today, 13:29
- Joined
- Aug 8, 2011
- Messages
- 71
Hi all,
I am trying to insert a blob into a SQL Server linked table field and with files over roughly 150MB I get the following error:
"not enough storage is available to complete this operation."
The SQL Server field is varbinary(max) datatype so it should be able to handle up to 2GB.
So far I've tried ADO AppendChunk using an ADO Recordset, and I've also tried doing INSERT INTO using ADO Command and parameter of type adVarBinary (using ADO Stream.Read to load binary data into parameter).
Both methods work great with smaller files, but anything around 150MB or larger fails with the error mentioned above.
I'm convinced this is some internal issue with ADO (tried both 2.8 and 6.1 libraries), but I'm not sure. I'm using a powerhouse of a computer and the server has plenty of resources so I doubt it's a hardware issue.
Has anyone been able to insert a blob larger than 150MB from an Access front-end into SQL Server?
EDIT: I mistakenly put "linked table" in the title. I am not using a linked table for this, I am creating a separate ADO connection directly to the SQL Server database from the MS Access front-end.
I am trying to insert a blob into a SQL Server linked table field and with files over roughly 150MB I get the following error:
"not enough storage is available to complete this operation."
The SQL Server field is varbinary(max) datatype so it should be able to handle up to 2GB.
So far I've tried ADO AppendChunk using an ADO Recordset, and I've also tried doing INSERT INTO using ADO Command and parameter of type adVarBinary (using ADO Stream.Read to load binary data into parameter).
Both methods work great with smaller files, but anything around 150MB or larger fails with the error mentioned above.
I'm convinced this is some internal issue with ADO (tried both 2.8 and 6.1 libraries), but I'm not sure. I'm using a powerhouse of a computer and the server has plenty of resources so I doubt it's a hardware issue.
Has anyone been able to insert a blob larger than 150MB from an Access front-end into SQL Server?
EDIT: I mistakenly put "linked table" in the title. I am not using a linked table for this, I am creating a separate ADO connection directly to the SQL Server database from the MS Access front-end.
Last edited: