久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

導致此 SqlException 的原因:從服務器接收結(jié)果時發(fā)

What causes this SqlException: A transport-level error has occurred when receiving results from the server(導致此 SqlException 的原因:從服務器接收結(jié)果時發(fā)生傳輸級錯誤)
本文介紹了導致此 SqlException 的原因:從服務器接收結(jié)果時發(fā)生傳輸級錯誤的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

這是完整的錯誤:SqlException:從服務器接收結(jié)果時發(fā)生傳輸級錯誤.(提供程序:共享內(nèi)存提供程序,錯誤:1 - 在讀/寫操作中檢測到?? I/O 錯誤)

對于我的應用程序中的一些單元測試(有超過 1100 個單元和系統(tǒng)測試),我開始間歇性地看到此消息.我正在使用 ReSharper 4.1 中的測試運行程序.

I've started seeing this message intermittently for a few of the unit tests in my application (there are over 1100 unit & system tests). I'm using the test runner in ReSharper 4.1.

另外一件事:我的開發(fā)機器是 VMWare 虛擬機.

One other thing: my development machine is a VMWare virtual machine.

推薦答案

我很久以前就遇到過這個問題.最重要的是,您的可用端口已用完.

I ran into this many moons ago. Bottom line is you are running out of available ports.

首先確保您的調(diào)用應用程序啟用了連接池.

First make sure your calling application has connection pooling on.

如果是,則檢查 SQL Server 的可用端口數(shù).

If that does then check the number of available ports for the SQL Server.

發(fā)生的情況是,如果池關閉,則每個調(diào)用都會占用一個端口,默認情況下需要 4 分鐘使端口過期,而您的端口即將用完.

What is happening is that if pooling is off then every call takes a port and it takes by default 4 minutes to have the port expire, and you are running out of ports.

如果啟用了池,那么您需要分析 SQL Server 的所有端口并確保您有足夠的端口并在必要時擴展它們.

If pooling is on then you need to profile all the ports of SQL Server and make sure you have enough and expand them if necessary.

當我遇到此錯誤時,連接池已關閉,只要在網(wǎng)站上放置了適當?shù)呢撦d,就會導致此問題.我們沒有在開發(fā)中看到它,因為負載最多為 2 或 3 人,但是一旦人數(shù)超過 10,我們就會不斷看到此錯誤.我們開啟了池化,并修復了它.

When I came across this error, connection pooling was off and it caused this issue whenever a decent load was put on the website. We did not see it in development because the load was 2 or 3 people at max, but once the number grew over 10 we kept seeing this error. We turned pooling on, and it fixed it.

這篇關于導致此 SqlException 的原因:從服務器接收結(jié)果時發(fā)生傳輸級錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

相關文檔推薦

What SQL Server Datatype Should I Use To Store A Byte[](我應該使用什么 SQL Server 數(shù)據(jù)類型來存儲字節(jié) [])
Interpreting type codes in sys.objects in SQL Server(解釋 SQL Server 中 sys.objects 中的類型代碼)
Typeorm .loadRelationCountAndMap returns zeros(Typeorm .loadRelationCountAndMap 返回零)
MS SQL: Should ISDATE() Return quot;1quot; when Cannot Cast as Date?(MS SQL:ISDATE() 是否應該返回“1?什么時候不能投射為日期?)
Converting the name of a day to its integer representation(將一天的名稱轉(zhuǎn)換為其整數(shù)表示)
How to convert nvarchar m/d/yy to mm/dd/yyyy in SQL Server?(如何在 SQL Server 中將 nvarchar m/d/yy 轉(zhuǎn)換為 mm/dd/yyyy?)
主站蜘蛛池模板: 成人精品国产 | 欧美激情精品久久久久久变态 | 久久精品国产一区二区三区不卡 | 久久久久久影院 | 欧美成人一区二区三区片免费 | 国产一二三区精品视频 | 国产视频福利一区 | h视频在线免费 | 国产精品一区二区久久 | 中文字幕在线第二页 | 成人在线精品视频 | 久久国产精品一区二区三区 | 亚洲九色 | 五月天婷婷综合 | 欧美视频免费在线观看 | 日韩在线国产 | 欧美国产日韩在线观看成人 | 精品亚洲视频在线 | 成人亚洲精品 | 国产精品视频网站 | 亚洲综合电影 | 日韩一二三区 | 欧美在线看片 | 国产亚洲一区二区精品 | 成人免费大片黄在线播放 | 国产一区二区三区四区 | www亚洲精品 | 神马久久久久久久久久 | 国产在线精品一区二区三区 | 中文字幕丁香5月 | 欧洲精品码一区二区三区免费看 | 欧美性受xxx | 91在线看| 国产精品一区二区视频 | 亚洲视频一区在线观看 | 国产福利在线 | 美女黄网 | 91精品国产91综合久久蜜臀 | 精品av | 国产一区在线视频 | 欧美一区二区三区 |