我们的Workflow Enging所用的数据库是安装在流程服务器上的。今天该服务器有问题,请系统管理员重启。重启后发现了以下问题:
经检查出问题的都出在和流程数据库交互的地方。
使用SQL Server的监视器没有发现死锁,使用SQL Server的管理器也可以正常连接。
最后发现IIS对该服务器的连接数太多造成的。当重启流程服务器时,IIS应用程序池一直在试图连接该数据库,因为连接不上所以都Hold在那儿了。将IIS的应用程序池重新回收一下后问题解决。
Server Error in '/' Application.
ExecuteReader requires an open and available Connection. The connection's current state is closed.
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: ExecuteReader requires an open and available Connection. The connection's current state is closed.
Source Error:
Source File:c:\inetpub\wwwroot\GraceSemi\Pages\PUR\Common\PUR_Material_Query.aspxLine:1
Stack Trace: