Server Error in '/' Application.

uwin电竞官网-u赢电竞官方网站-u赢电竞竞猜app

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: uwin电竞官网-u赢电竞官方网站-u赢电竞竞猜app

Source Error:


Line 27:     }
Line 28:     var domainName = HttpContext.Current.Request.Url.Host; //获取访问的域名
Line 29:     var dnMap = DnMapBll.Instance.GetItemByDomainName(domainName);
Line 30:     int zzId = dnMap.Id;
Line 31: }

Source File: d:\tangjiu\zhanqun\0.0.2\Views\Shared\Home\_home_foot.cshtml    Line: 29

Stack Trace:


[SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +690
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +89
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6296622
   System.Data.SqlClient.SqlConnection.Open() +300
   IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) +418

[DataMapperException: Unable to open connection to "Microsoft SQL Server, provider V2.0.0.0 in framework .NET V2.0".]
   IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) +912
   IBatisNet.DataMapper.Commands.DbCommandDecorator.System.Data.IDbCommand.ExecuteReader() +34
   IBatisNet.DataMapper.MappedStatements.MappedStatement.RunQueryForObject(RequestScope request, ISqlMapSession session, Object parameterObject, T resultObject) +89
   IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForObject(ISqlMapSession session, Object parameterObject, T resultObject) +194
   IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForObject(ISqlMapSession session, Object parameterObject) +106
   IBatisNet.DataMapper.SqlMapper.QueryForObject(String statementName, Object parameterObject) +419
   StationGroupAdmin.Dao.Service.DnMapSvr.GetItemByDomainName(String domainName) in D:\糖玖网络\公司项目\站群\03-域名管理Dao层\StationGroupAdmin.Dao\StationGroupAdmin.Dao\Service\DnMapSvr.cs:50
   StationGroupAdmin.Business.DnMapBll.GetItemByDomainName(String domainName) in D:\糖玖网络\公司项目\站群\03-域名管理Dao层\StationGroupAdmin.Dao\StationGroupAdmin.Business\DnMapBll.cs:123
   ASP._Page_Views_Shared_Home__home_foot_cshtml.Execute() in d:\tangjiu\zhanqun\0.0.2\Views\Shared\Home\_home_foot.cshtml:29
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +147
   ASP._Page_Views_Shared__Layout_cshtml.Execute() in d:\tangjiu\zhanqun\0.0.2\Views\Shared\_Layout.cshtml:33
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +208
   System.Web.WebPages.WebPageBase.PopContext() +199
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +33
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +230
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +453
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +371


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1