国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-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問題解決,差點被誤導。

主站蜘蛛池模板: 免费91最新地址永久入口 | 日韩经典一区 | 亚洲加勒比久久88色综合1 | 毛片1毛片2毛片3毛片4 | 香蕉久久夜色精品国产 | 中文字幕免费在线视频 | 欧美一级毛片免费网站 | 特及毛片 | 黄色成人免费观看 | 日本 欧美 国产 | 国产女人在线视频 | 亚洲人成网站观看在线播放 | a站在线观看 | 国内自产拍自a免费毛片 | 日本高清久久 | 成人午夜毛片在线看 | 在线观看久草视频 | 美国aaaa一级毛片啊 | 找国产毛片 | 欧美在线一级va免费观看 | 她也啪在线视频精品网站 | 欧美一级级毛片 | 国产成人精品福利网站在线 | 中国美女隐私无遮挡免费视频 | 亚洲精品在线观看视频 | 久久久久久久国产免费看 | 欧美精品成人3d在线 | 精品国产不卡一区二区三区 | 国产孕妇孕交视频 | 视频在线色 | 日本特黄a级高清免费酷网 日本特黄特色 | 一级一级毛片免费播放 | 日本免费毛片 | 成人毛片免费免费 | 日韩国产在线播放 | 高清欧美不卡一区二区三区 | 欧美日本一区亚洲欧美一区 | 国产成人综合网在线观看 | 成人精品视频网站 | 最新黄网 | 国产盗摄精品一区二区三区 |