Maximum request length exceeded ASP.NET

ASP.NET Add comments

Questo errore non è molto comune, ma è parecchio fastidioso. Si genera nel momento in cui vengono mandate troppe informazioni al server web, ad esempio un upload di un file troppo grande. La soluzione più veloce consiste nell’aumentare la quota di spazio per la request inserendo una variabile nel web.config:

<configuration>

  <system.web>

 <httpRuntime maxRequestLength=”2097151"/>

Il valore “2097151″ ~= 2 Gb è il massimo per un appicazione di tipo ASP.NET 2.0

Leave a Reply

WP Theme & Icons by N.Design Studio and modified by AntFerr
Entries RSS Comments RSS Login