成人视屏在线观看-国产99精品-国产精品1区2区-欧美一级在线观看-国产一区二区日韩-色九九九

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

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

瀏覽:167日期: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 數據庫
主站蜘蛛池模板: 国产精品7m凸凹视频分类大全 | 国产末成年女噜噜片 | 久久久久久一级毛片免费野外 | 三上悠亚免费一区二区在线 | 一区二区三区 亚洲区 | 久久精品视频免费在线观看 | 在线观看黄网视频免费播放 | 亚洲品质自拍视频 | 国产成人18黄网站免费网站 | 久久成人免费大片 | 美女被拍拍拍拍拍拍拍拍 | 欧美久久视频 | 欧美视频一区 | 国产午夜永久福利视频在线观看 | 18黄网站| 日韩欧美亚洲国产 | 国产一区精品在线观看 | 日韩精品一区二区三区在线观看l | 亚洲精品资源网在线观看 | 亚洲高清在线观看 | 欧美高清免费一级在线 | 毛片高清一区二区三区 | 久久精品视频观看 | 麻豆国产96在线 | 中国 | 一级片日韩 | 欧美成人视屏 | 亚洲男人的天堂久久香蕉网 | 综合在线亚洲 | 韩国特级毛片 | 日本一区二区三区不卡在线视频 | 97超视频在线观看 | 欧美 亚洲 丝袜 清纯 中文 | 一级毛片aaaaaa免费看 | 一级国产在线观看高清 | 久久精品国产99国产精品 | 亚洲成年男人的天堂网 | 国产一级爱做片免费观看 | 国产成人精品视频午夜 | 91精品国产高清久久久久 | 国产成人夜间影院在线观看 | 国产欧美一区二区三区精品 |