国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

您的位置:首頁技術(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問題解決,差點被誤導。

主站蜘蛛池模板: 欧美一级香蕉毛片 | 日韩美女免费线视频 | 亚洲网美女 | 在线视频 国产交换 | 99精品视频在线观看免费播放 | 久久综合九九 | 成人精品视频一区二区三区 | 偷拍亚洲欧美 | 久草在线网址 | 国产成人禁片免费观看 | 亚洲成在 | 亚洲国产成人久久精品图片 | 91精品一区二区三区在线 | 韩国美女爽快毛片免费 | 国内自拍在线 | 国外免费一级 | 久草福利社| avtt制服丝袜 | 欧美成人亚洲国产精品 | 成 人 动漫在线观看网站网站 | 亚洲天堂国产精品 | 99在线观看| 亚洲a级在线观看 | 中文字幕一区中文亚洲 | 操你.com| 亚洲国产欧美精品 | 精品国产爱久久 | www.av视频在线观看 | 久久男人的天堂色偷偷 | 91亚洲精品 | 日韩色网站| 国产精品久久久久久影院 | 国产精品福利视频萌白酱 | 草草影院欧美三级日本 | 久草免费看 | 久久精品国产亚洲7777 | 亚洲视频精品在线观看 | 久久国产美女免费观看精品 | 日韩在线高清视频 | 欧美成人se01短视频在线看 | 亚洲制服丝袜美腿亚洲一区 |