After installing my WPF application, and I try to start the application, it crashes and writes the error below in the event viewer. Does anyone have any ideas?
'---------------------------------------------- --- ---------------------
Application: MyApp.Windows.exe Framework version: v4.0.30319 Description: The process was aborted due to an unhandled exception. Exception Information: Microsoft.Practices.Unity.ResolutionFailedException stack: on Microsoft.Practices.Unity.UnityContainer.DoBuildUp (System.Type, System.Object, System.String, System.Collections.Generic.IEnumerable`1) in Microsoft.Practices .Unity.UnityContainer.Resolve (System.Type, System.String, Microsoft.Practices.Unity.ResolverOverride []) at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve [[System._Canon, mscorlib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089]] (Microsoft.Practices.Unity.IUnityContainer, Microsoft.Practices.Unity.ResolverOverride []) in MyApp.Windows.IoC.Resolve [System._Canon, mscorlib, Version = 4.0.0.0, Culture neutral, PublicKeyToken = b77a5c561934e089] in MyApp.Windows.Navigation.NavigationController.Navigate (System.String, System.Windows.Controls.UserControl) in MyApp.Windows.LoginWindow..ctor () in MyApp.Windows.App.OnStartup ( .Windows.StartupEventArgs) in System.Windows.Appl ication. <.ctor> b__1 (System.Object) in System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) in MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) in System.Windows.Threading.DispatcherOperation.InvokeImpl () in System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object) in System.Threading.ExecutionContext.runTryCode (System.Obb in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup (TryCode, CleanupCode, System.Object) in System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCreadbackback) .Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) in System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) in Sy stem.Windows.Threading.DispatcherOperation.Invoke () in System.Windows.Threading.Dispatcher.ProcessQueue () in System.Windows.Threading.Dispatcher.WndProcHook (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) in MS.Win32. HwndWrapper.WndProc (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) in MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object) in System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Object, MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) in System.Windows.Threading.Dispatcher.InvokeImpl (System.Windows.Threading.DispatcherPriority, System.TimeSpan , System.Delegate, System.Object, Int32) on MS.Win32.HwndSubclass.SubclassWndProc (IntPtr, Int32, IntPtr, IntPtr) in MS.Win32.UnsafeNativeMethods.DispatchMessage (System.Windows.Interop.MSG ByRef) in System.Windows.Interop.MSG ByRef) .Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame) in Sys tem.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame) in System.Windows.Threading.Dispatcher.Run () in System.Windows.Application.RunDispatcher (System.Object) in System.Windows.Application. RunInternal (System.Windows.Window) in System.Windows.Application.Run (System.Windows.Window) in MyApp.Windows.App.Main ()