I have an existing Classic ASP site which has just been move to a new host. It work on the old host but not on the new one. If I try and upload a file that is 121mg via the admin side of the site it works but if I try one that is 129mg or larger I get "Operation
not allowed" How in web.confg do I override the maximum file size. It is iis 8
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="3000000000" />
</requestFiltering>
</security>
</system.webServer>
<system.web>
<customErrors mode="Off" />
<compilation debug="true" />
</system.web>
</configuration>
Is the web.config
I tried adding
<asp>
<limits maxRequestEntityAllowed="2000000" />
</asp>
but that just crashed the site and so did
<asp>
</asp>
I presume things have changed in IIS 8 but I can find anything that says what to do for IIS 8
mlngBytesReceived = Request.TotalBytes
mbinData = Request.BinaryRead(mlngBytesReceived)
Is where it is failing
Thanks
↧
Uploading large files
↧