I had a problem uploading or adding a file on the database and shows the error stated on the title.
The column holding the binary data was set to varbinary(MAX). I couldn't find what was my error because I was able to upload a 900kb MS Word Document but it fails on a 51kb file.
By the way, here is my table format.
fileid int filetype varchar(50) filename varchar(50) filebytes varbinary(MAX) fileext varchar(10) posted datetime uploader varchar(50)
I have a filter on each varchar fields so it won't produce an error.