Dotnetnuke : Maximum request length exceeded...
"A critical error has occurred.
Maximum request length exceeded."
The above error is caused due to file size limitations in Dotnetnuke. You can overcome this limit by changing the following code in the web.config file... (Just search for the tag "allow large file uploads" within your web.config file)
Original code :
<!-- allow large file uploads -->
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192"/>
Changed code :
<!-- allow large file uploads -->
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="40960" requestLengthDiskThreshold="40960" executionTimeout="1200" />
This results in the limit of 8MB for file size uploads increased to 40MB. You may not wish to raise it quite that high, but that is just one example. Also note that the time given to uploading files has been increased to 20 minutes.
Extra Note : For the MB value you want to use, choose the number of MBs multiplied by 1024. ie 8 x 1024 = 8192, 40 x 1024 = 40960 etc...