0
I’m having a problem, we used a file sending system that was done in Webapplication and we will implement it also in a dll. In Webapplication it is possible to configure in Web.config the maximum file size to be sent, using the tags maxRequestLength (IIS <= 6) or maxAllowedContentLength (IIS >=7). But these same tags don’t work on app. Config da dll and hence generates the error below:
System.Net.WebException: Falha na solicitação com status HTTP 404: Not Found. em System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) em System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)...
Does anyone have any suggestions on how to set the maximum file size by app.Config
?