title: String or binary data would be truncated when uploading file in MVC
body: <p>The file is only 14kb (14,000 bytes).  I have read that the <code>varbinary(max)</code> column type (which is what I am using) only supports 8,000 bytes.  Is that correct?  How can I upload my file into the database?</p>
  
  <pre><code>if (file.ContentLength &lt; (3 * 1048576))
  {
      // extract only the fielname
      var fileName = Path.GetFileName(file.FileName);
  
      using (MemoryStream ms = new MemoryStream())
      {
          file.InputStream.CopyTo(ms);
          byte[] array = ms.GetBuffer();
          adj.resumeFile = array;
          adj.resumeFileContentType = file.ContentType;
      }
  }
  </code></pre>
  
  <p>The error:</p>
  
  <blockquote>
    <p>String or binary data would be truncated. The statement has been
    terminated.</p>
  </blockquote>