問題
解決The state server has closed an expired TCP/IP connection
解決方法
1.Web.config stateNetworkTimeout加大(秒)
<sessionState
stateNetworkTimeout="10"
/>
2.調整ASP.NET state server
Step1.服務=>ASP.NET State server=>停用
Step2.執行=>Regedt32.exe
Step3.找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters
Step4.右鍵=>新增DWORD=>SocketTimeout=>輸入整數時間
Step5.服務=>ASP.NET State server=>自動
參考https://support.microsoft.com/en-us/help/308097/state-server-logs-event-id-1072-or-event-id-1076
沒有留言:
張貼留言