Skip to content

Instantly share code, notes, and snippets.

@davidcie
Created August 2, 2012 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidcie/3234747 to your computer and use it in GitHub Desktop.
Save davidcie/3234747 to your computer and use it in GitHub Desktop.
Whitebox exception
Autofac.Core.DependencyResolutionException was unhandled by user code
Message=An exception was thrown while invoking the constructor 'Void .ctor(Whitebox.Core.Session.IMessageDispatcher, Whitebox.Core.Application.IApplicationEventQueue)' on type 'ProfilerSession'.
Source=Autofac
StackTrace:
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.<Execute>b__6()
at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass2.<CanSupplyValue>b__0()
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
at Whitebox.Profiler.AppModule.<RegisterViewWithModel>b__5[TView,TModel](IActivatedEventArgs`1 e) in D:\projekty\Lms\whitebox\Whitebox.Profiler\AppModule.cs:line 88
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass9.<OnActivated>b__8(Object s, ActivatedEventArgs`1 e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Autofac.Core.Registration.ComponentRegistration.RaiseActivated(IComponentContext context, IEnumerable`1 parameters, Object instance)
at Autofac.Core.Resolving.InstanceLookup.Complete()
at Autofac.Core.Resolving.ResolveOperation.CompleteActivations()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Resolving.ResolveOperation.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
InnerException: System.Security.Principal.IdentityNotMappedException
Message=Some or all identity references could not be translated.
Source=mscorlib
StackTrace:
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at System.IO.Pipes.PipeSecurity.AddAccessRule(PipeAccessRule rule)
at Whitebox.Core.Connector.NamedPipesReadQueue..ctor() in D:\projekty\Lms\whitebox\Whitebox.Core\Connector\NamedPipesReadQueue.cs:line 26
at Whitebox.Core.Session.ProfilerSession..ctor(IMessageDispatcher messageDispatcher, IApplicationEventQueue applicationEventQueue) in D:\projekty\Lms\whitebox\Whitebox.Core\Session\ProfilerSession.cs:line 14
InnerException:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment