午夜剧场伦理_日本一道高清_国产又黄又硬_91黄色网战_女同久久另类69精品国产_妹妹的朋友在线

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

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

瀏覽:233日期: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 數據庫
主站蜘蛛池模板: 天天草天天操 | 激情xxxx | 亚洲精品永久免费 | 黄色免费看片 | 久久色在线观看 | 天堂中文在线资 | 国产八区 | 中文字幕一区二区三区不卡 | 亚洲图片综合网 | 亚洲1级片 | 久久久精品在线观看 | 国产成人免费在线| 国产黄色免费在线观看 | 日韩成人小视频 | 蜜桃成人免费视频 | av片网址| 亚洲成人动漫在线观看 | 天天干天天色综合 | 一级片a级片 | 日本免费www| 天天天天天天天天操 | 欧美视频在线一区 | 伊人天堂av | 国产精品一区在线免费观看 | 天海翼在线视频 | 国产精品九九九九九九 | 亚洲国产精品免费 | 久久九九精品 | 午夜精品福利在线观看 | 一级黄色片a | 五月婷婷综合色 | 一区二区三区视频在线 | 亚洲视频一区在线观看 | 亚洲国产一区二区在线观看 | 成人免费在线视频观看 | 中国老女人av | 草草影院欧美 | 精品久久久久久久久久久久久久久久久 | 成人高清网站 | 手机在线一区 | 爱爱视频在线播放 |