Archive

Posts Tagged ‘Limits’

HowTo: enable big file uploads at MojoPortal on IIS

Just found in my backups a batch file for enabling big uploads to MojoPortal running on IIS:

%windir%\system32\inetsrv\appcmd 
      set config "Default Web Site/portal" 
      -section:requestFiltering
      -requestLimits.maxAllowedContentLength:104857600 
      -commitpath:apphost

The quoted command above needs to be in a single line and obviously you have to replace “Default Web Site/portal” with your site’s virtual folder “path” as shown in IIS Manager’s tree view.

Probably can configure that via web.config in ASP.net websites, but if nothing else works can try this too.

%d bloggers like this: