由于目标计算机积极拒绝,无法连接。 192.168.3.9:8081

由于目标计算机积极拒绝,无法连接。 192.168.3.9:8081,有米有对iis比较懂的大佬帮忙看下这是为啥

web端服务器iis连接数据库会时不时=断开连接,网站首页提示无法连接数据库服务器。于是把网站放于数据库服务器的iis上测试,当web端的iis提示断开时,本地的iis是可以正常连接的。 web端掉线很频繁,掉线时两台服务器之间互ping不丢包。

以下是web端的服务器的事件查看器的报错提示

Event code: 3005
Event message: 发生了未经处理的异常。
Event time: 2020/4/23 10:08:31
Event time (UTC): 2020/4/23 2:08:31
Event ID: ae91f1f4bf7c41afa0a5df707a64c54f
Event sequence: 1523
Event occurrence: 80
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/ROOT-1-132320743150871359
Trust level: Full
Application Virtual Path: /
Application Path: D:\网上报销系统(1)\wsyy\
Machine name: TC-WEB

Process information:
Process ID: 2388
Process name: w3wp.exe
Account name: IIS APPPOOL.NET v4.5 Classic

Exception information:
Exception type: WebException
Exception message: 无法连接到远程服务器
在 System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
在 System.Net.HttpWebRequest.GetRequestStream()
在 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
在 usas.Zwxminfoservice65.GetZgInfo(String yhbh)
在 Usefull.Session_element(String Ygbh)
在 Modules_YZSBX_rcbxnew.Page_Load(Object sender, EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

由于目标计算机积极拒绝,无法连接。 192.168.3.9:8081
在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

Request information:
Request URL: http://10.1.1.91:8080/MODULES/YZSBX/rcbxnew.aspx?page=YB&ywbh=S+nzbbAkZw+/HZCnqd5DPQ==&xyb=2&bmbh=pNqz3B726IE=&xmbh=srU7Ibb0Hxc=
Request path: /MODULES/YZSBX/rcbxnew.aspx
User host address: 219.216.247.247
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL.NET v4.5 Classic

Thread information:
Thread ID: 50
Thread account name: IIS APPPOOL.NET v4.5 Classic
Is impersonating: False
Stack trace: 在 System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
在 System.Net.HttpWebRequest.GetRequestStream()
在 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
在 usas.Zwxminfoservice65.GetZgInfo(String yhbh)
在 Usefull.Session_element(String Ygbh)
在 Modules_YZSBX_rcbxnew.Page_Load(Object sender, EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Custom event details:

你可能感兴趣的:(iis与数据库连接问题)