本文介绍了单元测试:超时到期异常发生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试运行单元测试项目来加载100条记录但是在运行项目时出现异常,请给我解决方案。 System.InvalidOperationException:超时已过期。从池中获取连接之前经过的超时时间。这可能是因为所有池化连接都在使用并且达到了最大池大小。
I am try to run unit test project to load 100 record but below exception occur while running the project, Please give me solution for that. 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.
推荐答案Hi Shital 查看此博客文章 blogs.msdn/b/spike/archive/2008/08 /25/timeout-expired-the-timeout-period-elapsed-prior-to-obtaining-a-connection-from-the-pool.aspx [ ^ ] 问候, Vijay Hi Shital Check this blog post blogs.msdn/b/spike/archive/2008/08/25/timeout-expired-the-timeout-period-elapsed-prior-to-obtaining-a-connection-from-the-pool.aspx[^] Regards, Vijay
更多推荐
单元测试:超时到期异常发生
发布评论