Troubleshooting: SQL Server連線錯誤解決方法列表
1. Connection Forcibly Closed
This error may occur when connecting to SQL Server using TCP/IP.
Error message:A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Related cause and solution:
(1). SynAttackProtect
SQL Server Database Engine running on Windows Server 2003 Service Pack 1 and later, Windows may drop connections if the requests arrive faster than SQL Server can service them. This is a security feature of Windows Server 2003 Service Pack 1 and later, which implements a finite queue for incoming TCP connection requests.
(2) windows SNP feature, include TCP Chimney Offload, RSS and TCPA
http://kitesky.itpub.net/post/909/512660
How to fix
(1). Edit registry
(2). Command
netsh int tcp show globalshows the offload setting in the OS.
netsh int tcp set global chimney=enabledenables the offload.
2. Transport-level Error When Querying DatabaseErrorMessage:A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
Related cause and solution:The error is being caused by a timeout exception for long running queries. In previous versions of Visual Studio .NET, the exception was properly represented as a exception with a timeout description.
Set the commandtimeout property of the command object to an appropriate value. Use a value of zero to wait without an exception being thrown.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/66009/viewspace-1045199/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- 解決無法連線SQL Server資料庫的方法BWSQLServer資料庫
- 資料庫連線錯誤的原因及解決方法資料庫
- SQL Server與伺服器連線時出錯的解決方案SQSQLServer伺服器
- sql server資料庫附加錯誤的解決過程SQLServer資料庫
- 錯誤720寬頻連線解決辦法 寬頻連線錯誤程式碼720怎麼解決
- BlueHost SSH連線常見錯誤和解決方法
- SQLyog連線MySQL8.0報2058錯誤的完美解決方法MySql
- Win7寬頻連線錯誤678如何解決?Win7系統寬頻連線錯誤678的解決方法Win7
- Mysql出現連線錯誤解決辦法MySql
- 解決navicat遠端連線資料庫報2059錯誤的方法資料庫
- 連線sql server時,不能使用127.0.0.1的解決辦法SQLServer127.0.0.1
- 關於對連線資料庫時出現1130-host “**” is not allowed to connect to this MySql/mariadb server 的錯誤解決方法資料庫MySqlServer
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- win10印表機未能連線錯誤0x00000002的解決方法Win10
- HTTP 錯誤 500.21 - Internal Server Error 解決方案HTTPServerError
- 安裝vCenter Server出現1603錯誤的一種解決方法Server
- PbootCMS 404 錯誤解決方法boot
- dbfread報錯ValueError錯誤解決方法Error
- 寬頻連線720錯誤是什麼意思?Win10寬頻連線720錯誤的解決辦法Win10
- sql server資料庫連線失敗/無法附加解決過程SQLServer資料庫
- 網站提示連線資料庫錯誤怎麼解決網站資料庫
- Grafana Nginx 403 Origin not allowed 及 ws websocket連線錯誤解決GrafanaNginxWeb
- navicat連線MySQL8.0.11報2059錯誤的解決方案MySql
- NavicatPremium 連線SQL Server 、MySQL等REMServerMySql
- python 怎麼連線 sql server,不是連線 mysqlPythonServerMySql
- SQL Server DACPAC資料庫部署錯誤SQLServer資料庫
- undefined reference to錯誤的解決方法Undefined
- dedecms提示500錯誤解決方法
- Dedecms錯誤警告:連線資料庫失敗,出錯怎麼解決?資料庫
- 教你解決win10遠端桌面連線出現了內部錯誤的方法Win10
- 解決使用jedis連線是報DENIED Redis is running in protected mode錯誤Redis
- Mac SSH 連線出現 Host key verification failed. 錯誤解決MacAI
- db2 遠端連線伺服器 解決-668 錯誤DB2伺服器
- win10連線共享印表機錯誤709怎麼解決Win10
- Linux下ODBC連線HGDB報Could not SQLConnect錯解決方法LinuxSQL
- 調變解調器錯誤651怎麼修復 win10連線錯誤651怎麼解決Win10
- Windows 下 Laravel 7.0 連線 sql serverWindowsLaravelSQLServer
- mysql連線錯誤(2013)MySql