Reputation: 10652
I have an ASP.NET MVC application that uses Web Garden and State Server mode. I have noticed that in some occasion it throws below error:
The state server has closed an expired TCP/IP connection. The IP address of the client is 127.0.0.1. The expired Read operation began at dd/MM/yyyy HH:mm:ss.
I have googled and found below troubleshoot that applies to events ID 1072 and 1076,but mine is event ID 1078, so my question is: Is this solution valid for event ID 1078 as well (the error message is the same despite of event ID is different)?
Upvotes: 1
Views: 2853
Reputation: 12749
for event id 1072, 1076 and 1078 the below solution apply:
set below cod in web.conifg file:
<sessionState
stateNetworkTimeout="10" />
modify registry setting for TCP/IP operation time-out value for the state server:
1)Before modifying the registry value need to stop the service. open services and select ASP.NET state server service. right-click on the service and select stop.
2)open regedit(registry editor) from the start menu.
3)Locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameter
4)Add a DWORD value that is named SocketTimeout. Set a positive integer to represent the new TCP/IP timeout in seconds.
After modifying the registry value restart the server and then start ASP.NET state server service.
https://learn.microsoft.com/en-us/troubleshoot/aspnet/state-server-event-1072-1076
Upvotes: 1