av一区二区在线观看_亚洲男人的天堂网站_日韩亚洲视频_在线成人免费_欧美日韩精品免费观看视频_久草视

您的位置:首頁技術文章
文章詳情頁

SQL Server 2000 sp4與數據鏈接池問題

瀏覽:164日期:2023-11-06 09:19:06

今天遠程連接一臺xp sp2上的SQL,報錯信息如下:

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

Source Error:

Line 2503: cmd.CommandType = CommandType.StoredProcedure;

Line 2504:

Line 2505: connection.Open();

Line 2506: SqlCommandBuilder.DeriveParameters(cmd);

Line 2507: connection.Close();

但是,我的連接字符串中已經設置了,最大鏈接池=200,應該是不可能全部被占用的。

當把鏈接池設置去掉,就報:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Source Error:

Line 2503: cmd.CommandType = CommandType.StoredProcedure;

Line 2504:

Line 2505: connection.Open();

Line 2506: SqlCommandBuilder.DeriveParameters(cmd);

Line 2507: connection.Close();

這下子,問題就明朗了,典型的沒有打 Sql2000 sp4 的問題,打上sp4問題解決,差點被誤導。

標簽: Sql Server 數據庫
主站蜘蛛池模板: 亚洲精品免费看 | 亚洲网站在线 | 久久免费小视频 | 国产激情网 | 欧美 日韩 国产 成人 在线 | 视频一区在线观看 | va视频| 夜夜肉她怀孕h周君彦 | 国产精品视屏 | 国产精品美女视频 | av一区二区三区四区 | 国产黄av | 五月天婷婷丁香 | 人人射人人 | 免费亚洲婷婷 | 天堂中文资源在线 | 久久精品播放 | 国产一区二区三区在线 | 深夜视频在线观看 | 黄色在线观看网址 | 91成人精品一区在线播放 | 午夜视频在线看 | 国产区视频在线 | 国产成人三级一区二区在线观看一 | 一区二区国产视频 | 国产一级片免费看 | 热久久久久 | 国产精品久久久久久久久久 | 精品国产99久久久久久宅男i | 国产一区二区三区 | 成人免费毛片入口 | 日韩精品在线观看视频 | 日韩av免费在线观看 | 亚洲一区二区在线播放 | 成人福利 | 成人免费福利视频 | 天天色天天干天天 | www.色日本 | 成人永久免费视频 | 日本午夜影院 | 亚洲乱码在线 |