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

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

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

瀏覽:165日期: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 數據庫
主站蜘蛛池模板: 日本精品一区二区三区在线 | 亚洲精品国产一区二区 | 国产精品久久久亚洲 | 欧美美女视频网站 | 亚洲国产第一区二区香蕉日日 | 亚洲a级在线观看 | 成 人 黄 色 视频播放16 | 国产一级视频播放 | 日本特黄特色大片免费看 | 精品国产一区二区二三区在线观看 | 日本三级全黄三级a | 12至16末成年毛片视频 | 一级特黄a视频 | 亚洲国产视频网 | 国产成人a毛片 | 日本韩经典三级在线播放 | 久久国产精品无码网站 | 国内精品美女写真视频 | 国产嫩草影院在线观看 | 国产精品毛片天天看片 | 国产欧美亚洲精品 | 男人干女人的视频 | 亚洲男女在线 | 91porny九色国产首页在线 | 国产在线播放一区 | 天堂影院jav成人天堂免费观看 | 欧美成人专区 | 在线免费观看成年人视频 | 欧美日韩一区二区在线视频 | 久久久这里只有精品免费 | 久夜色精品国产一区二区三区 | 九色porny真实丨国产18 | 欧美一区二区三区视视频 | 国产亚洲欧美日韩在线看片 | 美国一级视频 | 亚洲欧美日本人成在线观看 | 精品国产97在线观看 | 午夜免费成人 | 午夜怡红院| 美女视频黄色在线观看 | 国产精品99久久久 |