Solved by adding the following in the web config :
<configuration> <system.web> <httpRuntime maxRequestLength="xxxxxxx" /> </system.web> </configuration>
Solve it by adding the following at the webconfig:
<configuration>
<system.web>
<httpRuntime maxRequestLength = "xxxxxxx" />
</system.web>
</ configuration>