I am trying to increase the size of flash uploads (to allow videos). I have used the following code:
'enable larger file upload
Editor1.SetSecurityMaxFlashSize(25000) '25MB max
'enable larger total folder size
Editor1.SetSecurityMaxDocumentFolderSize(250000) '250MB max
However, when I attempt to upload a 13MB file, I get the following error:
Maximum Request Length Exceeded: The default value for the maxResourceLength parameter in the <httpRuntime> section of the web.config file is 4096 (4 MB). As a result, files that are larger than this value are not uploaded by default."
There is no <httpRuntime> section in my web.config file... I tried to add one, but it complained that it was not legal. Can you provide the format for this addition to the web.config file?
Thanks!