YAFLogo

watadoo
  • watadoo
  • 79.4% (Friendly)
  • YAF Forumling Topic Starter
15 years ago
I'd like to take away restrictions on photo size for myself for uploading to a post. leaving blank or 0 doesn't work. Is there a way to set this hosts setting to unlimited?
"Which is worse, ignorance or indifference?"

"I don't know, and I don't care."

UserPostedImage

Sponsor
Chetan Bavarva
8 years ago
You need to set maxRequestLength Value (in bytes) in the web.config

maxRequestLength up to 30MB


<system.webServer>
   <security>
      <requestFiltering>
         <requestLimits maxAllowedContentLength="3000000000" />
      </requestFiltering>
   </security>
</system.webServer>

Note: maxAllowedContentLength value is measured in bytes.


Chetan Patel

Custom software company India 

iFour Technolab Pvt. Ltd