Web服务突然停止响应/工作 [英] Web Services suddenly stopped responding / working

查看:132
本文介绍了Web服务突然停止响应/工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果这不是正确的论坛,我道歉。但我甚至不确定从哪里开始。我们有2个Web服务 - 一个是从服务器检索文档的"自定义"Web服务,另一个是从FAND服务器检索文档的Web服务。昨天早上'突然'他们停止了工作。我们遇到的错误如下:

*** System.Net.WebException:无法从传输连接读取数据:远程主机强制关闭现有连接。 ---> System.IO.IOException:无法从传输连接读取数据:远程主机强制关闭现有连接。 ---> System.Net.Sockets.SocketException:远程主机强行关闭现有连接




---内部异常堆栈跟踪结束 - -


在System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)



< System.Net.CommandStream.ReadCallback(IAsyncResult asyncResult)中的p class = MsoPlainText style ="margin:0in 0in 0pt">


---结束内部异常堆栈跟踪---


at Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFile(Uri address,String destinationFileName)


(Uri地址,String destinationFileName,ICredentials networkCredentials,Boolean showUI,Int32 connectionTimeout,Boolean overwrite ,UICancelOption onUserCancel)


的Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri地址,字符串destinationFileName,ICredentials networkCredentials,布尔showUI,Int32 connectionTimeout,布尔覆盖)


在Gmc.Common.LoanDocuments.LoanDocumentGrid.ShowDocument(LoanDocument文档)


在Gmc.Common.LoanDocuments.LoanDocumentGrid.DataGridView1_CellContentClick(Object sender,DataGridViewCellEventArgs e)


at System.Windows.Forms.DataGridViewCell.OnMouseUpInternal(DataGridViewCellMouseEventArgs e)


iewCellMouseEventArgs e)


在System.Windows.Forms.DataGridView.OnMouseUp(MouseEventArgs e)


(消息& m,MouseButtons按钮,Int32单击)


<在System.Windows.Forms.Control.WndProc(消息& m)的span>




在System。 Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)


和另一个错误:



System.Net.WebException:底层连接已关闭:接收时发生意外错误。


at Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFile(Uri address,String destinationFileName)


at Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address,String destinationFileName,ICredentials networkCredentials,Boolean showUI,Int32 connectionTimeout,Boolean在Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri地址,字符串)中覆盖,UICancelOption onUserCancel)


在Gmc.Comm的destinationFileName,ICredentials networkCredentials,Boolean showUI,Int32 connectionTimeout,Boolean overwrite)


在.mm.Common.LoanDocuments.LoanDocumentGrid上的on.LoanDocuments.LoanDocumentGrid.ShowDocument(LoanDocument文档)


。 System.Windows.Forms.DataGridView.OnCellContentClick(DataGridViewCellEventArgs)中的DataGridView1_CellContentClick(Object sender,DataGridViewCellEventArgs e)


e)


在System.Windows.Forms.DataGridView.OnCommonCellContentClick(Int32 columnIndex,Int32 rowIndex,Boolean在System.Windows.Forms.DataGridViewCell.OnMouseUpInternal(DataGridViewCellMouseEventArgs e)中,

在System.Windows.Forms.DataGridView.OnCellMouseUp(DataGridViewCellMouseEventArgs e)<$ p $

class = MsoPlainText style ="margin:0in在System.Windows.Forms.DataGridView.OnMouseUp(MouseEventArgs e)中0in">


在System.Windows.Forms.Control.WmMouseUp(Message& m,MouseButtons按钮,Int32单击)


在System.Windows.Forms.Control.WndProc(Message& ; m)


在System.Windows.Forms.DataGridView.WndProc(Message& m)


在System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)


在System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)


System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)




任何人都可以帮忙吗?我知道服务停止时系统上没有任何改变。我们已尝试停止并重新启动服务,并停止并重新启动整个Web服务器。仍然没有工作。


解决方案

也许网络人员安装了新的代理服务器或防火墙?这可能。


I apologize if this isn't the correct forum . .but I'm not really sure even where to start.  We have 2 web services - one  a 'custom' web service that retrieves documents from a server and another one that retrieves documents from a FAND server.  'Suddenly' yesterday morning they stopped working.  We are getting errors such as:

***     System.Net.WebException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

   at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)

   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

   --- End of inner exception stack trace ---

   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

   at System.Net.PooledStream.EndRead(IAsyncResult asyncResult)

   at System.Net.CommandStream.ReadCallback(IAsyncResult asyncResult)

   --- End of inner exception stack trace ---

   at Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFile(Uri address, String destinationFileName)

   at Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)

   at Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite)

   at Gmc.Common.LoanDocuments.LoanDocumentGrid.ShowDocument(LoanDocument document)

   at Gmc.Common.LoanDocuments.LoanDocumentGrid.DataGridView1_CellContentClick(Object sender, DataGridViewCellEventArgs e)

   at System.Windows.Forms.DataGridViewCell.OnMouseUpInternal(DataGridViewCellMouseEventArgs e)

   at System.Windows.Forms.DataGridView.OnCellMouseUp(DataGridViewCellMouseEventArgs e)

   at System.Windows.Forms.DataGridView.OnMouseUp(MouseEventArgs e)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.DataGridView.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 AND another error:

 

 

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive.

   at Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFile(Uri address, String destinationFileName)

   at Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)

   at Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite)

   at Gmc.Common.LoanDocuments.LoanDocumentGrid.ShowDocument(LoanDocument document)

   at Gmc.Common.LoanDocuments.LoanDocumentGrid.DataGridView1_CellContentClick(Object sender, DataGridViewCellEventArgs e)

   at System.Windows.Forms.DataGridView.OnCellContentClick(DataGridViewCellEventArgs e)

   at System.Windows.Forms.DataGridView.OnCommonCellContentClick(Int32 columnIndex, Int32 rowIndex, Boolean doubleClick)

   at System.Windows.Forms.DataGridViewCell.OnMouseUpInternal(DataGridViewCellMouseEventArgs e)

   at System.Windows.Forms.DataGridView.OnCellMouseUp(DataGridViewCellMouseEventArgs e)

   at System.Windows.Forms.DataGridView.OnMouseUp(MouseEventArgs e)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.DataGridView.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Can anyone help please?  We had not changed anything on the system that I know of when the services stopped.  We have tried stopping and restarting the services and stopping and restarting the entire web server.  Still not working.

解决方案

Perhaps the network guys installed a new proxy server or firewall?  Is that possible.


这篇关于Web服务突然停止响应/工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆