YAFLogo

asherrick
  • asherrick
  • 50.8% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
I'm running 1.9.6.1 and getting a 404 error when uploading large attachments. My test attachment is 35 MB. In the Web.config file maxRequestLength is set to 50 MB. Also, I'm storing attachments in the database rather than the file system, though I did try it both ways with the same result.
Sponsor
asherrick
  • asherrick
  • 50.8% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
I figured it out thanks to Stack Overflow. I needed to add the following to my Web.config file:


<system.webserver>
   <security>
     <requestFiltering>
       <requestLimits maxAllowedContentLength=”2147483648″ />
     </requestFiltering>
   </security>
 <system.webserver>