色综合图-色综合图片-色综合图片二区150p-色综合图区-玖玖国产精品视频-玖玖香蕉视频

您的位置:首頁技術(shù)文章
文章詳情頁

SQL Server 2000 sp4與數(shù)據(jù)鏈接池問題

瀏覽:137日期: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();

但是,我的連接字符串中已經(jīng)設置了,最大鏈接池=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問題解決,差點被誤導。

主站蜘蛛池模板: 亚洲综合成人在线 | 91网站在线免费观看 | 久草视频中文在线 | 久久免费视频网站 | 人人公开免费超级碰碰碰视频 | 国产女女视屏免费 | 国产成人免费午夜在线观看 | 一区二区三区久久 | 久久精品国产99精品最新 | 韩国免又爽又刺激激情视频 | 亚洲精品国产综合久久一线 | 老妇综合久久香蕉蜜桃 | 国产网站免费视频 | 日本一级毛片中文字幕 | 性感美女一级片 | 3d动漫精品成人一区二区三 | 精品欧美一区二区三区在线 | 欧美一级毛片在线观看 | 国产看午夜精品理论片 | 在线免费公开视频 | 国产成人精品精品欧美 | 日韩国产欧美视频 | 8050网午夜一级毛片免费不卡 | 欧美精品xxx| 精品国产欧美精品v | 91香蕉嫩草 | 亚洲国产成人在线视频 | 国产精品观看在线亚洲人成网 | 一色屋成人免费精品网站 | a毛片免费全部在线播放毛 a毛片免费视频 | 亚洲成成品网站有线 | 欧美精品免费线视频观看视频 | 久久国产精品-国产精品 | 一本久久综合 | 欧美一区二区三区免费高 | 日韩一级欧美一级一级国产 | 男人和女人搞黄 | 免费国内精品久久久久影院 | 99视频在线观看免费视频 | 日韩精品久久久毛片一区二区 | 国产精品一区二区综合 |