“/”应用程序中的服务器错误。

立即博|手机版

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: StackExchange.Redis.RedisConnectionException: 立即博|手机版

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

[RedisConnectionException: 立即博|手机版] StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(Func`1 multiplexerFactory, TextWriter log) +302 Chemmerce.Plugins.Redis.RedisClient.get_Connection() +483 Chemmerce.Domain.Service.SvActivitiesService..ctor(IRedisClient redisClient) +42 lambda_method(Closure , Object[] ) +104 Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +242 [DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Chemmerce.Plugins.Redis.IRedisClient)' on type 'SvActivitiesService'. ---> 立即博|手机版 (See inner exception for details.)] Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +706 Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +252 Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86 Autofac.Core.Resolving.InstanceLookup.Execute() +62 Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +170 Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +124 Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +252 Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86 Autofac.Core.Resolving.InstanceLookup.Execute() +62 Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +170 Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +109 Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) +122 Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters) +70 Autofac.Integration.Mvc.AutofacDependencyResolver.GetService(Type serviceType) +70 System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +59 [InvalidOperationException: 尝试创建“Chemmerce.Client.Web.Controllers.HomeController”类型的控制器时出错。请确保控制器具有无参数公共构造函数。] System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +240 System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103 System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +258 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +95 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +923 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +137


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.6.1099.0