Here is the YSOD:
Timed out. The wait period expires before the operation is completed or the server is not responding. Description: An unhandled exception occurred during the execution of the current web request. View the stack trace for more information about the error and its occurrence in the code.
Exception Details: System.Data.SqlClient.SqlException: Timed out. The wait period expires before the operation is completed or the server is not responding.
Source Error: An unhandled exception was thrown during the execution of the current web request. Information about the origin and location of the exception can be identified using the trace of the exception stack below.
Stack trace:
[SqlException (0x80131904): timed out. The wait period expires before the operation is completed or the server does not respond.] System.Data.ProviderBase.DbConnectionPool.GetConnection (DbConnection owningObject) +428 System.Data.ProviderBase.DbConnectionFactory.GetConnection (DbConnection owningConnection) +65 System.Data.ProviderClase. OpenConnection (DbConnection external connection, DbConnectionFactory connectionFactory) +117 System.Data.SqlClient.SqlConnection.Open () +122 ECommerce.PMethod.Sql.SqlConns.Open () +78 ECommerce.PMethod.Sql.SqlConns..ctor () 120 ECommerce.login.DatasInfo.Proc.UserCenter.IsLogin (String UserGUID, Int32 UserID) +49 ECommerce.login.Rules.Users.UserLogin.isLogin () +44 Config.isUserLogined () +5 Shopping_Shopping.Page_Load (object sender, EventArgs e) +10 System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback (object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad (EventArgs e) +99 System .Web.UI.Control.LoadRecursive () +50 System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
[TypeInitializationException: "ECommerce.ERP.DAL.DBConn" .] ECommerce.ERP.DAL.DBConn.get_ConnString() +0
[ObjectDefinitionStoreException: Factory 'System.String get_ConnString()' .] Spring.Objects.Factory.Support.SimpleInstantiationStrategy.Instantiate( RootObjectDefinition, , IObjectFactory factory, MethodInfo factoryMethod, Object [] arguments) +257 Spring.Objects.Factory.Support.ConstructorResolver.InstantiateUsingFactoryMethod( , RootObjectDefinition, Object []) +624 Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.InstantiateUsingFactoryMethod( , RootObjectDefinition, Object []) +60 Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.CreateObjectInstance(String objectName, RootObjectDefinition objectDefinition, Object [] arguments) +56 Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.InstantiateObject( , RootObjectDefinition, Object [] arguments, Boolean allowEagerCaching, Boolean suppressConfigure) +436
[ObjectCreationException: , styleService, 'assembly [ECommerce.Services.Impl, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null], [ECommerce.Services.Impl. AppContext.xml] 56 ': : Factory method' System.String get_ConnString() ' .
" promotionionservice" "promotionService", 'assembly [ECommerce.Services.Impl, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null], [ECommerce.Services.Impl.AppContext.xml ] 31 '
" domainservice" "promotionDomainService", [ECommerce.Domain, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null], [ECommerce.Domain.AppContext.xml] 20 '
" promotionrepos" "promotionRepos", "" [ECommerce.Data.AdoNet, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null], [ECommerce.Data.AdoNet.AppContext.xml ] 34 '
" connstr" "ECommerce.ERP.DAL.DBConn # 389F399", " [ECommerce.Data.AdoNet, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null], [ECommerce.Data.AdoNet.AppContext.xml] 34 '] Spring.Objects.Factory.Support.ObjectDefinitionValueResolver.ResolveReference( IObjectDefinition, , , RuntimeObjectReference) +394 Spring.Objects.Factory.Support.ObjectDefinitionValueResolver.ResolvePropertyValue( , IObjectDefinition, String argumentName, Object argumentValue) +312 Spring.Objects.Factory.Support.ObjectDefinitionValueResolver.ResolveValueIfNecessary( , IObjectDefinition, String argumentName, Object argumentValue) +17 Spring.Objects.Factory.Support.ConstructorResolver.ResolveConstructorArguments(String objectName, RootObjectDefinition, ObjectWrapper, ConstructorArgumentValues cargs, ConstructorArgumentValues resolvedValues) +993 Spring.Objects.Factory.Support.ConstructorResolver.AutowireConstructor(String objectName, RootObjectDefinition rod, ConstructorInfo [] selectedCtors, Object [] explicitArgs) +171 Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.AutowireConstructor( , RootObjectDefinition, ConstructorInfo [] ctors, Object [] explicitArgs) +65 Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.CreateObjectInstance(String objectName, RootObjectDefinition objectDefinition, Object [] arguments) +161 Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.InstantiateObject( , RootObjectDefinition, Object [], allowEagerCaching, Boolean suppressConfigure) +636 Spring.Objects.Factory.Support.AbstractObjectFactory.CreateAndCacheSingletonInstance(String objectName, RootObjectDefinition objectDefinition, Object [] arguments) +174 Spring.Objects.Factory.Support.WebObjectFactory.CreateAndCacheSingletonInstance(String objectName, RootObjectDefinition objectDefinition, Object [] arguments) +150 Spring.Objects.Factory.Support.AbstractObjectFactory.GetObjectInternal( , requiredType, Object [] arguments, Boolean suppressConfigure) +990 Spring.Objects.Factory.Support.AbstractObjectFactory.GetObject( ) +10 Spring.Context.Support.AbstractApplicationContext.GetObject( ) +20 ECommerce.Common.ServiceLocator.GetService() +334 ECommerce.Mvc.Controllers.StylesController..ctor() +72
[TargetInvocationException: .] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean & canBeCached, RuntimeMethodHandle & ctor, Boolean & bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230 System.Activator.CreateInstance( , Boolean nonPublic) +67 System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +80
[InvalidOperationException: "ECommerce.Mvc.Controllers.StylesController". , .] System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +190 System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +68 System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController & controller, IControllerFactory & factory) +118 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback, ) +46 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback, ) +63 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest( HttpContext, AsyncCallback cb, Object extraData) +13 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8677954 System.Web.HttpApplication.ExecuteStep( IExecutionStep, Boolean ) +155
: Microsoft.NET Framework : 2.0.50727.3082; ASP.NET: 2.0.50727.3082
: , ? ?
:
MVC spring, lazy-init, , :
<object id="promotionRepos" type="ECommerce.Data.AdoNet.Promotions.PromotionRepos, ECommerce.Data.AdoNet" lazy-init="true">
<constructor-arg name="provider">
<null />
</constructor-arg>
<constructor-arg name="connStr">
<object type="ECommerce.ERP.DAL.DBConn, ECommerce.ERP.DAL" factory-method="get_ConnString" />
</constructor-arg>
<property name="RefreshInterval" value="00:00:10" />
</object>
- - , . . : Shopping_Shopping.Page_Load ( , EventArgs e) +10
. , ECommerce.PMethod.Sql.SqlConns.Open() , , spring, . , .
, ysod . , .
, - /, , .