I was having trouble with the uploading of large files in .Net
I tried several references but to no avail. First issue was encountering error 404 when uploading files, I tried increasing the request limits maxAllowedContentLength and maxRequestLength which solved the issue. No more Error 404. But still, I have trouble uploading files more than 40Mb. No Endpoint calls recorded in Fiddler, not even an error or exception displayed in Visual Studio.
Here's a portion of my web.config:
<system.web>
<!-- Setting maxRequestLength to be much greater than default 4096 so that large data may be uploaded e.g. images, docs -->
<httpRuntime requestPathInvalidCharacters="" requestValidationMode="2.0" maxRequestLength="204800000" executionTimeout="3600" />
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral>
<providerOption name="CompilerVersion" value="v4.0" />
<providerOption name="WarnAsError" value="false" />
</compiler>
</compilers>
</system.codedom>
<system.webServer>
<security>
<requestFiltering allowDoubleEscaping="true">
<requestLimits maxAllowedContentLength="2200000000" />
</requestFiltering>
</security>
</system.webServer>
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
<behaviors>
<serviceBehaviors>
<behavior>
<dataContractSerializer maxItemsInObjectGraph="6553600" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<webHttpBinding>
<binding maxReceivedMessageSize="6553600" />
</webHttpBinding>
</bindings>
</system.serviceModel>
Any help would be appreciated. Thanks