Reputation: 66445
When I try to run a really long action (takes around 2 minutes locally) on my live server, I get this error:
Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.
I changed the timeout to be 1 hour:
<httpRuntime executionTimeout="3600" />
... but it didn't fix it. What could be causing this and how could I fix it?
Thanks
Upvotes: 0
Views: 719
Reputation: 56391
Most likely this is the browser, not the server. IE, for example, will timeout if it hasn't received any data from the server in 2 minutes by default.
Bottom line: you're better off figuring out why you're doing something that's very long-running and not doing it.
Edit
Note: the link talks mainly about the KeepAliveTimeout, but the ServerInfoTimeout is the one causing you trouble. You can fix things on your box by following the instructions in the link. This will not fix the consumers of your website, however, so you're better off not doing things that take a long time.
Upvotes: 0
Reputation: 887459
Check the timeout in IIS.
Also, are there any proxies between you and the server?
Upvotes: 2