I have a web service(C#) which involves processing lot of information thru a
third party component. I have couple of issues with my web service.
Issue 1:
My web service calls a third party component. The whole operation including
getting results to the user takes 16 mins. But even after changing the
timeouts to 30 Mins, i was getting time out error just after couple of
minutes. It works only after I changed all the time outs to > 30 Mins. Why do
I need timeouts > than the processing time?
Issue 2:
I get page can not be displayed in my browser just couple of minutes after
my web service call the third party component(which is a com component). But
I dont see any error in the event log. I added debug statements to trace the
path of execution. Even though I get page can not be displayed, I could see
the process is completed succesfully( I insert debug statement to sql
server...I see all of them)... I tried to make the call to the third party
component,an synchronous one. It still didnt solve my problem.
The sequesce of actions....
web server dumps the input to sql server(which in turn is used by the third
party component)
web server calls app server(where the web service resides)
web service calls the thrid pary component ....(it is a HTTPWebRequest)
.
Waits for response from third party component
--page can not be displayed in couple minutes) ---
( but can see the output dumped to the log table.dont see any error)
Would greatly appriciate any feedback.
Thanks
Mithu
mithu - 30 Nov 2004 22:11 GMT
I changed all time-outs, responseDeadlockInterval, memorylimit etc.... I
still couldn't figure out why it is throwing up the 'Page can not be
displayed' . I read in msdn, having lesser value for 'maxRequestLength' wont
throw up an error but show page can not be displayed. But that article tells
that event viewer will have a log. I don't have any errors or warnings in
event logs. I really have no idea what goes wrong. Who takes precedence,
web.config or machine.config? The time-outs in web.config didn't have any
effect at all. I don't like changing my machine.config. After I changed my
machine.config, I don't have any time-outs. But my browser at the end of 3
mins, gave me the page can not be displayed. I would greatly appreciate any
help on this.