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

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

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

瀏覽:154日期: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 數據庫
主站蜘蛛池模板: 欧美久久久久久久一区二区三区 | 欧美一级高清黄图片 | 日韩精品亚洲一级在线观看 | 九九热国产精品视频 | pgone太大了兽王免费视频 | 全国男人的天堂天堂网 | 99久久免费视频在线观看 | 在线亚洲精品视频 | 另类自拍| 国产精品资源手机在线播放 | 色青五月天 | 成人免费毛片观看 | 欧美激情精品久久久久久久九九九 | 69成人做爰视频在线观看 | 欧美午夜精品久久久久久黑人 | 伊人天堂在线 | 国产亚洲久久 | 性刺激免费视频观看在线观看 | 大美女香蕉丽人视频网站 | 玖草在线视频 | 国产三级做爰高清在线 | 国产精品二| 日日摸日日碰夜夜97 | 中文字幕成人免费高清在线 | 国产精品久久久久久久久久免费 | 一级做a爰片久久毛片16 | 一区二区三区在线 | 国产精品久久久久毛片 | 久久精品国产欧美日韩99热 | www三级免费 | 久久精品a亚洲国产v高清不卡 | 国产特级全黄一级毛片不卡 | 亚洲三级免费观看 | 日日摸人人拍人人澡 | 久久久精品一区 | 精品国产香蕉在线播出 | 久草手机在线视频 | 国产精品精品 | 91探花福利精品国产自产在线 | 亚洲国产www | 亚洲一级毛片视频 |