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

導(dǎo)致此 SqlException 的原因:從服務(wù)器接收結(jié)果時(shí)發(fā)

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

問(wèn)題描述

限時(shí)送ChatGPT賬號(hào)..

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

對(duì)于我的應(yīng)用程序中的一些單元測(cè)試(有超過(guò) 1100 個(gè)單元和系統(tǒng)測(cè)試),我開(kāi)始間歇性地看到此消息.我正在使用 ReSharper 4.1 中的測(cè)試運(yùn)行程序.

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.

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

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

推薦答案

我很久以前就遇到過(guò)這個(gè)問(wèn)題.最重要的是,您的可用端口已用完.

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

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

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ā)生的情況是,如果池關(guān)閉,則每個(gè)調(diào)用都會(huì)占用一個(gè)端口,默認(rèn)情況下需要 4 分鐘使端口過(guò)期,而您的端口即將用完.

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 的所有端口并確保您有足夠的端口并在必要時(shí)擴(kuò)展它們.

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.

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

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.

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

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

相關(guān)文檔推薦

What SQL Server Datatype Should I Use To Store A Byte[](我應(yīng)該使用什么 SQL Server 數(shù)據(jù)類型來(lái)存儲(chǔ)字節(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() 是否應(yīng)該返回“1?什么時(shí)候不能投射為日期?)
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?)
主站蜘蛛池模板: 国产天天操 | 手机在线免费看av | 国产三级在线观看视频 | 伊人色综合网 | 三上悠亚一区 | 国产精品免费看 | 国产黄色免费网站 | 一区二区三区视频 | 91免费福利视频 | 国产自偷自拍 | 午夜在线观看免费视频 | 欧美一区二区在线播放 | 国产盗摄一区二区 | brazzers精品成人一区 | 欧美成人三级在线观看 | 国产黄a三级| 黄色片免费看 | 国产精品123 | 国语对白永久免费 | 天天躁日日躁狠狠很躁 | 精品久久久一区二区 | 国产成人久久 | 国产一区精品在线观看 | 国产视频成人 | 久久久久久久网站 | a级片免费观看 | 国产精品成人一区二区网站软件 | 天堂综合网 | 亚洲黄色三级 | 亚洲一区二区在线视频 | 日韩精品极品 | av在线免费观看网址 | 日韩免费在线 | 欧美精品在线视频 | 成人毛片在线 | 日本三级视频在线观看 | 成人免费看 | 91久久国产综合久久91精品网站 | 一级做a爱片性色毛片 | 欧美一区二区三区成人 | 在线观看a视频 |