这个是通过WebService上传文件的时候遇到的。webconfig配置的请求长度已配置到4E
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SocketException (0x2747): 由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作。]
System.Net.Sockets.Socket.MultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags) +6224135
System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers) +62
[IOException: Unable to write data to the transport connection: 由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作。.]
System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers) +234
System.Net.Connection.Write(ScatterGatherBuffers writeBuffer) +31
System.Net.ConnectStream.ResubmitWrite(ConnectStream oldStream, Boolean suppressWrite) +117
由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作。
答案:3 悬赏:0
解决时间 2021-04-18 02:12
- 提问者网友:萌萌小主
- 2021-04-17 15:30
最佳答案
- 二级知识专家网友:不傲怎称霸
- 2021-04-17 16:24
接收完成后,有没有把相应的资源给清理掉。
全部回答
- 1楼网友:万千宠爱
- 2021-04-17 18:38
上次连接没close吧
- 2楼网友:没感情的陌生人
- 2021-04-17 17:24
建议你到专业论坛问问。
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯