S
srini
I have a console application in C#, which calls a .net webservice.
The .net webservice calls a stored procedure to retrieve the data.
The sp runs for around 3 minutes and get the results. The first time, I
get the exception
and the next time I understand it is in the buffer cache and it is able
to run without error.
I have made the following changes so far
1. Changed web.config in the webservice to have the http execution time
out to be high
<httpRuntime maxRequestLength="1048576" executionTimeout="4000"/>
2. I have the console application which is the caller to have
webservice.timeout = 60*1000;
3.I did not want to change the machine.config, as it will effect all
other projects.
I get the following webexception still after implement 1 and 2 ( A
WebException occurred while executing the requested operation.
Message: The operation has timed-out.)
Is there anything I am missing other than machine.config ?
Thanks
The .net webservice calls a stored procedure to retrieve the data.
The sp runs for around 3 minutes and get the results. The first time, I
get the exception
and the next time I understand it is in the buffer cache and it is able
to run without error.
I have made the following changes so far
1. Changed web.config in the webservice to have the http execution time
out to be high
<httpRuntime maxRequestLength="1048576" executionTimeout="4000"/>
2. I have the console application which is the caller to have
webservice.timeout = 60*1000;
3.I did not want to change the machine.config, as it will effect all
other projects.
I get the following webexception still after implement 1 and 2 ( A
WebException occurred while executing the requested operation.
Message: The operation has timed-out.)
Is there anything I am missing other than machine.config ?
Thanks