Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Server Error in '/' Application.
- The type HttpServerUtilityBase does not have an accessible constructor.
- 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: The type HttpServerUtilityBase does not have an accessible constructor.
- 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:
- [InvalidOperationException: The type HttpServerUtilityBase does not have an accessible constructor.]
- Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForNullExistingObject(IBuilderContext context) +178
- lambda_method(Closure , IBuilderContext ) +25
- Microsoft.Practices.ObjectBuilder2.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context) +35
- Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +10
- Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +196
- Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +193
- Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) +113
- Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context) +48
- lambda_method(Closure , IBuilderContext ) +108
- Microsoft.Practices.ObjectBuilder2.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context) +35
- Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +10
- Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +196
- Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +193
- Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) +113
- Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context) +48
- lambda_method(Closure , IBuilderContext ) +320
- Microsoft.Practices.ObjectBuilder2.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context) +35
- Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +10
- Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +196
- Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +193
- Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +164
- [ResolutionFailedException: Resolution of the dependency failed, type = "LifeRill.Controllers.MembersController", name = "(none)".
- Exception occurred while: while resolving.
- Exception is: InvalidOperationException - The type HttpServerUtilityBase does not have an accessible constructor.
- -----------------------------------------------
- At the time of the exception, the container was:
- Resolving LifeRill.Controllers.MembersController,(none)
- Resolving parameter "imageUploader" of constructor LifeRill.Controllers.MembersController(LifeRill.Repository.UnitOfWork unitOfWork, LifeRill.Mappers.ProfileMapper mapper, LifeRill.Services.ImageUploadService imageUploader)
- Resolving LifeRill.Services.ImageUploadService,(none)
- Resolving parameter "server" of constructor LifeRill.Services.ImageUploadService(System.Web.HttpServerUtilityBase server, System.String uploadDir)
- Resolving System.Web.HttpServerUtilityBase,(none)
- ]
- Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) +328
- Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides) +15
- Microsoft.Practices.Unity.UnityContainerExtensions.Resolve(IUnityContainer container, Type t, ResolverOverride[] overrides) +18
- Unity.Mvc5.UnityDependencyResolver.GetService(Type serviceType) +67
- System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +41
- [InvalidOperationException: An error occurred when trying to create a controller of type 'LifeRill.Controllers.MembersController'. Make sure that the controller has a parameterless public constructor.]
- System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +178
- System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +77
- System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +88
- System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +191
- System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +50
- System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +48
- System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +16
- System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +301
- System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement