亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

重啟數據庫服務器后數據庫無法連接的解決方法

系統 2520 0

我們的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:

?

Line 1:? <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PUR_Material_Query.aspx.cs" Inherits="GraceSemi.NET.Web.Pages.PUR.Common.PUR_Material_Query" %>

Line 2:? <%@ Register assembly="Anthem" namespace="Anthem" tagprefix="anthem" %>

Line 3:? <%@ Register src="../SpareParts/PUR_SparePartsMenu.ascx" tagname="PUR_SparePartsMenu" tagprefix="uc1" %>


Source File: c:\inetpub\wwwroot\GraceSemi\Pages\PUR\Common\PUR_Material_Query.aspx ?? Line: 1

Stack Trace:

?

[InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is closed.]

?? System.Data.SqlClient.SqlConnection.GetOpenConnection(String method) +6317475

?? System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command) +13

?? System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +271

?? System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +138

?? System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28

?? System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +256

?? System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +19

?? System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() +23

?? GraceSemi.NET.Data.Common.ConnectionHandler.ExecuteReader(Command cmd) +170

?? GraceSemi.NET.Data.Common.ConnectionContext.ExecuteReader(Command cmd) +82

?? GraceSemi.NET.Data.Common.ConnectionContext.List(Type type, Command cmd, Region region) +594

?? GraceSemi.NET.Data.Common.ConnectionContext.ListFirst(Type type, Command cmd) +90

?? GraceSemi.NET.Data.Common.ConnectionContext.ListFirst(Command cmd) +111

?? GraceSemi.NET.Data.Common.EntityBase.OnListFirst(IConnectinContext cc, String from, Expression expression, String orderby, String groupby) +586

?? GraceSemi.NET.Data.Common.EntityBase.ExOnListFirst(IConnectinContext cc, String from, Expression expression, String orderby, String groupby) +164

?? GraceSemi.NET.Data.Common.Expression.ListFirst(IConnectinContext cc, String orderby) +348

?? GraceSemi.NET.Data.Common.Expression.ListFirst(IConnectinContext cc) +131

?? GraceSemi.NET.Business.t_User.set_UserName(String value) +244

?? GraceSemi.NET.TaskPage.SSO(String UserName) +144

?? GraceSemi.NET.TaskPage.InitializeCulture() +3642

?? ASP.pages_pur_common_pur_material_query_aspx.__BuildControlTree(pages_pur_common_pur_material_query_aspx __ctrl) in c:\inetpub\wwwroot\GraceSemi\Pages\PUR\Common\PUR_Material_Query.aspx:1

?? ASP.pages_pur_common_pur_material_query_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\3a66716a\f24c2056\App_Web_0jitdpta.3.cs:0

?? System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +72

?? System.Web.UI.Page.ProcessRequest() +119

?? System.Web.UI.Page.ProcessRequest(HttpContext context) +167

?? ASP.pages_pur_common_pur_material_query_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\3a66716a\f24c2056\App_Web_0jitdpta.3.cs:0

?? System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +597

?? System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266

重啟數據庫服務器后數據庫無法連接的解決方法


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 精品无人区乱码一区二区 | 亚洲精品中文字幕乱码一区二区 | 国产中文字幕在线免费观看 | 久久国产精品国语对白 | 日本一片免费观看高清完整 | 亚洲日比视频 | 国产午夜精品久久久久免费视 | 国产一级久久久久久毛片 | 狠狠激情五月综合婷婷俺 | 国产日韩欧美综合一区 | 中文字幕在线免费观看视频 | 欧美特级大片 | 免费观看日本高清a毛片 | a一级毛片视频免费看 | 四虎永久免费网站免费观看 | 久久99久久99精品免观看麻豆 | 在线播放亚洲 | 香蕉视频在线看 | 91九色视频在线观看 | 亚洲人和日本人hd | 日本特级全黄一级毛片 | 国产美女拍拍拍在线观看 | 欧美一a一片一级一片 | 91精品在线免费 | 夜夜涩 | 99热久久国产精品这里小说 | 亚洲欧美日韩国产精品影院 | 亚洲精品一区二区三区在线看 | 国产一区亚洲欧美成人 | 日本一本在线观看 | 这里只有精品在线播放 | 国产成人精品无缓存在线播放 | 伊人久久国产免费观看视频 | 色激情五月 | 色婷婷狠狠五月综合天色拍 | 97国产精品国产品国语字幕 | 五月天丁香六月欧美综合 | 一级毛片在线免费观看 | 国产成人永久免费视 | 一区二区三区视频 | 日本午夜大片a在线观看 |