【发布时间】:2009-12-18 10:29:28
【问题描述】:
我正在从第三方读取 RSS 提要,然后将数据导入数据库。
此过程有时会超时。
{"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."}
目前我有以下内容
1) asp.net 页面上的一个按钮 2)下载RSS 3)使用linq查询得到我想要的数据 4) 插入数据库。
有什么好的做法可以最大限度地减少超时。我认为在按钮单击时调用 ashx 可能会有所帮助。非常感谢建议。这将在共享主机上。
谢谢
【问题讨论】: