Hello,
I have an application that stores images in the database. I use SQL Server
2000 and VB.NET. I have a table with a column of type image. I also have a
stored procedure that does the insert with a parameter of type image. The
local data type being passed to the stored procedure is a byte array
(byte()).
A 6k image stores just fine. At 32k, I get the following error:
---------------------------------------------------
A severe error occurred on the current command. The results, if any, should
be discarded. at
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream) at
System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
---------------------------------------------------
And, if I look in the event viewer, I see that MSSQLSVR reports the
following error:
---------------------------------------------------
Error: 17805, Severity: 20, State: 3
Invalid buffer received from client.
---------------------------------------------------
Has anyone seen this? I found some old support documents talking about
problems with SQL Server 6.5, but nothing on SQL Server 2000 (which is what
I use).
Thanks!
Brian