[InvalidOperationException: This SqlTransaction has completed; it is no longer usable.]
System.Data.SqlClient.SqlTransaction.ZombieCheck() +60
System.Data.SqlClient.SqlTransaction.Commit() +86
Umbraco.Core.Persistence.Database.CleanupTransaction() +67
Umbraco.Core.Persistence.Database.CompleteTransaction() +21
Umbraco.Core.Scoping.Scope.DisposeLastScope() +173
Umbraco.Core.Scoping.Scope.Dispose() +89
Umbraco.Core.Persistence.UnitOfWork.ScopeUnitOfWork.DisposeResources() +74
Umbraco.Core.DisposableObjectSlim.Dispose(Boolean disposing) +132
Umbraco.Core.DisposableObjectSlim.Dispose() +21
Umbraco.Core.Services.ContentService.GetAncestors(IContent content) +614
Danski.ExtensionMethods.<>c__DisplayClass0_0.<GetBrandId>b__0() +160
Danski.Caching.LiteCache.InvokeAndReturnAction(Func`1 action) +101
Danski.Caching.LiteCache.Get(Int32 brandId, String key, Func`1 action, TimeSpan timeSpan) +581
Danski.ExtensionMethods.ContentExtensionMethods.GetBrandId(IContent content) +335
Danski.Services.ApiImageService..ctor() +1286
lambda_method(Closure , Object[] ) +72
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +250
[DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor()' on type 'ApiImageService'. ---> This SqlTransaction has completed; it is no longer usable. (See inner exception for details.)]
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +794
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +85
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +110
[DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ApiImageService (ReflectionActivator), Services = [Danski.Services.ApiImageService], Lifetime = Autofac.Core.Lifetime.MatchingScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor()' on type 'ApiImageService'. ---> This SqlTransaction has completed; it is no longer usable. (See inner exception for details.) (See inner exception for details.)]
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +433
Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +154
Autofac.Core.Resolving.InstanceLookup.Execute() +166
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +119
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +85
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +110
[DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = HotelService (ReflectionActivator), Services = [Danski.Services.HotelService], Lifetime = Autofac.Core.Lifetime.MatchingScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ApiImageService (ReflectionActivator), Services = [Danski.Services.ApiImageService], Lifetime = Autofac.Core.Lifetime.MatchingScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor()' on type 'ApiImageService'. ---> This SqlTransaction has completed; it is no longer usable. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)]
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +433
Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +154
Autofac.Core.Resolving.InstanceLookup.Execute() +166
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +119
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +85
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +110
[DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = HotelController (ReflectionActivator), Services = [Danski.Website.Controllers.HotelController], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = HotelService (ReflectionActivator), Services = [Danski.Services.HotelService], Lifetime = Autofac.Core.Lifetime.MatchingScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ApiImageService (ReflectionActivator), Services = [Danski.Services.ApiImageService], Lifetime = Autofac.Core.Lifetime.MatchingScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor()' on type 'ApiImageService'. ---> This SqlTransaction has completed; it is no longer usable. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)]
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +433
Autofac.Core.Resolving.InstanceLookup.Execute() +180
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +108
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) +75
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +61
[InvalidOperationException: An error occurred when trying to create a controller of type 'Danski.Website.Controllers.HotelController'. Make sure that the controller has a parameterless public constructor.]
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +242
Umbraco.Web.Mvc.UmbracoControllerFactory.CreateController(RequestContext requestContext, String controllerName) +133
Umbraco.Web.Mvc.RenderControllerFactory.CreateController(RequestContext requestContext, String controllerName) +12
System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +263
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +85
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1151
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +224
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131
|