亚洲免费在线视频-亚洲啊v-久久免费精品视频-国产精品va-看片地址-成人在线视频网

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

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

瀏覽:167日期: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 數據庫
主站蜘蛛池模板: 午夜在线成人 | 亚洲品质自拍视频网站 | 亚洲国产午夜看片 | 孕妇孕妇aaaaa级毛片视频 | 97高清国语自产拍中国大陆 | 久久久久国产精品免费网站 | 91欧美精品综合在线观看 | 国产成人高清一区二区私人 | 最新亚洲人成网站在线影院 | 中文字幕成人免费视频 | 超级香蕉97视频在线观看一区 | 99re66热这里只有精品免费观看 | 黄色上床网站 | 日本苍井一级毛片 | 中文字幕亚洲 综合久久 | 亚洲欧美性视频 | 一本久久a久久精品亚洲 | caoporen免费公开视频上传 | 在线日韩三级 | 高跟丝袜美女一级毛片 | 伊人久久精品午夜 | 亚洲视频自拍 | 久久久免费观成人影院 | 成年美女黄网站色大 | 欧美精品在线视频观看 | 久久久免费精品视频 | 一级毛片在线完整免费观看 | 日本一区二区三区免费视频 | 黄色福利站 | 大陆高清自拍 | 91精品国产免费 | 国产免费爱在线观看视频 | 黄色美女免费 | 97精品福利视频在线 | 色综合久久88色综合天天提莫 | 日日碰日日操 | 婷婷色九月综合激情丁香 | 欧美一二三 | 欧美日韩ay在线观看 | 午夜看毛片 | 国产v精品成人免费视频400条 |