Server Error in '/' Application.

The remote server returned an error: (503) Server Unavailable.

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.Net.WebException: The remote server returned an error: (503) Server Unavailable.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[WebException: The remote server returned an error: (503) Server Unavailable.]
   System.Net.HttpWebRequest.GetResponse() +1931
   System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +86

[ServerTooBusyException: The HTTP service located at http://uaappscale01/ECommerceService/ECommerceService.svc is unavailable.  This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the address is correct and try accessing the service again later.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +369
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +1000
   ServiceContract.Services.IECommerceService.GetLocationContextByIpAsync(GetLocationContextRequest request) +0
   WebSiteV2.Library.ServiceProxy.ECommerceServiceProxy.GetLocationContextByIpAddress(String ipAddress) +15
   WebSiteV2.ControllerHelpers.UserContextHandler.InitializeLocationContext(Object countryCode, List`1 countryList) +714
   WebSiteV2.ControllerHelpers.UserContextHandler.Initialize() +178
   BuildUp_WebSiteV2.ControllerHelpers.UserContextHandler(IBuilderContext ) +674
   Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +350
   Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +298
   Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) +237
   BuildUp_WebSiteV2.ControllerHelpers.ControllerInitializer(IBuilderContext ) +199
   Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +350
   Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +298
   Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) +237
   BuildUp_WebSiteV2.Controllers.ModelController(IBuilderContext ) +196
   Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +350
   Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +298
   Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +242

[ResolutionFailedException: Resolution of the dependency failed, type = "WebSiteV2.Controllers.ModelController", name = "(none)".
Exception occurred while: Calling constructor WebSiteV2.ControllerHelpers.UserContextHandler(WebSiteV2.WebContext webContext, WebSiteV2.Library.ServiceProxy.IECommerceServiceProxy ecommerceServiceProxy, WebSiteV2.Library.ServiceProxy.IMasterDataServiceProxy masterDataServiceProxy, WebSiteV2.Library.ServiceProxy.IInventoryServiceProxy inventoryServiceProxy).
Exception is: ServerTooBusyException - The HTTP service located at http://uaappscale01/ECommerceService/ECommerceService.svc is unavailable.  This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the address is correct and try accessing the service again later.
-----------------------------------------------
At the time of the exception, the container was:

  Resolving WebSiteV2.Controllers.ModelController,(none)
  Resolving parameter "controllerInitializer" of constructor WebSiteV2.Controllers.ModelController(WebSiteV2.ControllerHelpers.IControllerInitializer controllerInitializer, WebSiteV2.Library.ServiceProxy.IInventoryServiceProxy inventoryServiceProxy, WebSiteV2.Utility.SiteUrlHelper urlHelper, WebSiteV2.ControllerHelpers.IBannerManager bannerManager, WebSiteV2.ControllerHelpers.CampaignManager campaignManager, WebSiteV2.ControllerHelpers.IMasterDataManager masterDataManager, WebSiteV2.Library.ServiceProxy.IOmniChannelServiceProxy omniChannelServiceProxy, WebSiteV2.ControllerHelpers.IUIManager uiManager, WebSiteV2.ControllerHelpers.IECommerceManager ecommerceManager)
    Resolving WebSiteV2.ControllerHelpers.ControllerInitializer,(none) (mapped from WebSiteV2.ControllerHelpers.IControllerInitializer, (none))
    Resolving parameter "userContextHandler" of constructor WebSiteV2.ControllerHelpers.ControllerInitializer(WebSiteV2.ControllerHelpers.IUserContextHandler userContextHandler, WebSiteV2.Library.ServiceProxy.CoreServicesProxyContainer proxyContainer, WebSiteV2.ControllerHelpers.ISessionManager sessionManager, WebSiteV2.ControllerHelpers.IExternalScriptManager externalScriptManager, WebSiteV2.ControllerHelpers.IAuthenticationManager authenticationManager, WebSiteV2.Web.IUrlHelperWrapper urlHelper, WebSiteV2.ControllerHelpers.IUIManager uIManager, WebSiteV2.ControllerHelpers.IMasterDataManager masterDataManager, WebSiteV2.ControllerHelpers.IBannerManager bannerManager, WebSiteV2.Library.ServiceProxy.ILocalizationServiceProxy localizationServiceProxy, WebSiteV2.Library.ServiceProxy.UIServiceProxy uIServiceProxy)
      Resolving WebSiteV2.ControllerHelpers.UserContextHandler,(none) (mapped from WebSiteV2.ControllerHelpers.IUserContextHandler, (none))
      Calling constructor WebSiteV2.ControllerHelpers.UserContextHandler(WebSiteV2.WebContext webContext, WebSiteV2.Library.ServiceProxy.IECommerceServiceProxy ecommerceServiceProxy, WebSiteV2.Library.ServiceProxy.IMasterDataServiceProxy masterDataServiceProxy, WebSiteV2.Library.ServiceProxy.IInventoryServiceProxy inventoryServiceProxy)
]
   Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +494
   Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides) +20
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +64

[InvalidOperationException: An error occurred when trying to create a controller of type 'WebSiteV2.Controllers.ModelController'. Make sure that the controller has a parameterless public constructor.]
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +245
   System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +71
   System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +258
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +79
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +844
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +231
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134


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