maxRequestLength for a client
-
Hi all, I have a webservice to which a client will send up several attachments using DIME and a WebMethod call, which could reach no more than 20mb. I understand that on the server I will either need to update the machine.config or the web.config to increase the maxRequestLength. I also have the ability through the client app, to call a WebMethod which attaches files using DIME, and the client can then retrieve them. At the moment I'm having a difficulty replicating this, so I was just curious if there needs to be a maxRequestLength fields modified for the application (myapp.exe.config)? or in some other area? Thanx "If you're too careful, your whole life can become a f---in' grind." - Mike McD (Rounders)
-
Hi all, I have a webservice to which a client will send up several attachments using DIME and a WebMethod call, which could reach no more than 20mb. I understand that on the server I will either need to update the machine.config or the web.config to increase the maxRequestLength. I also have the ability through the client app, to call a WebMethod which attaches files using DIME, and the client can then retrieve them. At the moment I'm having a difficulty replicating this, so I was just curious if there needs to be a maxRequestLength fields modified for the application (myapp.exe.config)? or in some other area? Thanx "If you're too careful, your whole life can become a f---in' grind." - Mike McD (Rounders)
The maxRequestLength parameter has to be set in your webservice. In your web.config you can add the following line under the system.web tag
<httpRuntime executionTimeout="90" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/>
maxRequestLength is the maximum size allowed in KB Hope it helps -
The maxRequestLength parameter has to be set in your webservice. In your web.config you can add the following line under the system.web tag
<httpRuntime executionTimeout="90" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/>
maxRequestLength is the maximum size allowed in KB Hope it helpsThank you Asad.. "If you're too careful, your whole life can become a f---in' grind." - Mike McD (Rounders)
-
The maxRequestLength parameter has to be set in your webservice. In your web.config you can add the following line under the system.web tag
<httpRuntime executionTimeout="90" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/>
maxRequestLength is the maximum size allowed in KB Hope it helpsHi Asad, Something else i've noticed, is that WSE has its own limitations. Therefore I had to add the following :
<microsoft.web.services2> <messaging> <maxRequestLength> 262144 </maxRequestLength> </messaging> </microsoft.web.services2>
Cheers Jubjub "If you're too careful, your whole life can become a f---in' grind." - Mike McD (Rounders)