Hi!
when I upload a large file from the backend Composite, I get the following error:
ObjectDisposedException:
__Cannot access a closed file.__
Stack Trace:
at Composite. C1console.workflow.WorkFlowFacaDeImpl.RunWorkFlow.(Guid InstanceID)
----
----
----
----
----
Generated
I made the following changes to the web.config
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="524288000">
<headerLimits>
<remove header="Content-type" />
</headerLimits>
</requestLimits>
</requestFiltering>
</security>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967290" maxUrl="20480" maxQueryString="20480" />
</requestFiltering>
</security>
</system.webServer>
<httpRuntime maxQueryStringLength="51200" maxUrlLength="51200" executionTimeout="2400" maxRequestLength="2099999999" requestLengthDiskThreshold="51200" requestValidationMode="2.0" />
Any Idea?
Comments: ** Comment from web user: xavibg **
when I upload a large file from the backend Composite, I get the following error:
ObjectDisposedException:
__Cannot access a closed file.__
Stack Trace:
at Composite. C1console.workflow.WorkFlowFacaDeImpl.RunWorkFlow.(Guid InstanceID)
----
----
----
----
----
Generated
I made the following changes to the web.config
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="524288000">
<headerLimits>
<remove header="Content-type" />
</headerLimits>
</requestLimits>
</requestFiltering>
</security>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967290" maxUrl="20480" maxQueryString="20480" />
</requestFiltering>
</security>
</system.webServer>
<httpRuntime maxQueryStringLength="51200" maxUrlLength="51200" executionTimeout="2400" maxRequestLength="2099999999" requestLengthDiskThreshold="51200" requestValidationMode="2.0" />
Any Idea?
Comments: ** Comment from web user: xavibg **
Solved!
In requestLengthDiskThreshold="51200" had to put requestLengthDiskThreshold="2099999999"