HandBrake does not run

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
maffe69
Posts: 3
Joined: Sat May 19, 2018 10:05 am

HandBrake does not run

Post by maffe69 » Sat May 19, 2018 10:24 am

I would really appreciate any help that could be provided regarding the following issue:

Description of problem or question:

HandBrake does not start; the following message is consistently displayed (repeated installations have been performed with no success):

Code: Select all

An Unknown Error has occurred.
System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.IO.FileNotFoundException: Non è stato possibile caricare il file o l'assembly 'System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' o una delle relative dipendenze. Impossibile trovare il file specificato.
   in System.Windows.Forms.Application.get_UserAppDataPath()
   in HandBrakeWPF.Utilities.GeneralUtilities.CreateLogHeader() in D:\HandBrake\win\CS\HandBrakeWPF\Utilities\GeneralUtilities.cs:riga 118
   in HandBrakeWPF.Helpers.LogManager.Init() in D:\HandBrake\win\CS\HandBrakeWPF\Helpers\LogManager.cs:riga 40
   in HandBrakeWPF.ViewModels.MainViewModel..ctor(IUserSettingService userSettingService, IScan scanService, IPresetService presetService, IErrorService errorService, IUpdateService updateService, IPrePostActionService whenDoneService, IWindowManager windowManager, IPictureSettingsViewModel pictureSettingsViewModel, IVideoViewModel videoViewModel, ISummaryViewModel summaryViewModel, IFiltersViewModel filtersViewModel, IAudioViewModel audioViewModel, ISubtitlesViewModel subtitlesViewModel, IX264ViewModel advancedViewModel, IChaptersViewModel chaptersViewModel, IStaticPreviewViewModel staticPreviewViewModel, IQueueViewModel queueViewModel, IMetaDataViewModel metaDataViewModel, INotifyIconService notifyIconService) in D:\HandBrake\win\CS\HandBrakeWPF\ViewModels\MainViewModel.cs:riga 243
   --- Fine della traccia dello stack dell'eccezione interna ---
   in System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   in System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   in System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   in System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   in System.Activator.CreateInstance(Type type, Object[] args)
   in Caliburn.Micro.SimpleContainer.ActivateInstance(Type type, Object[] args)
   in Caliburn.Micro.SimpleContainer.<>c__DisplayClass7_0.<RegisterSingleton>b__0(SimpleContainer container)
   in System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   in System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   in Caliburn.Micro.SimpleContainer.DetermineConstructorArgs(Type implementation)
   in Caliburn.Micro.SimpleContainer.<>c__DisplayClass7_0.<RegisterSingleton>b__0(SimpleContainer container)
   in HandBrakeWPF.Startup.AppBootstrapper.GetInstance(Type service, String key) in D:\HandBrake\win\CS\HandBrakeWPF\Startup\AppBootstrapper.cs:riga 130
   in Caliburn.Micro.BootstrapperBase.DisplayRootViewFor(Type viewModelType, IDictionary`2 settings)
   in HandBrakeWPF.Startup.AppBootstrapper.OnStartup(Object sender, StartupEventArgs e) in D:\HandBrake\win\CS\HandBrakeWPF\Startup\AppBootstrapper.cs:riga 113
   in System.Windows.Application.OnStartup(StartupEventArgs e)
   in HandBrakeWPF.App.OnStartup(StartupEventArgs e) in D:\HandBrake\win\CS\HandBrakeWPF\App.xaml.cs:riga 82
   in System.Windows.Application.<.ctor>b__1_0(Object unused)
   in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Steps to reproduce the problem (If Applicable):

Run HandBrake

HandBrake version (e.g., 1.0.0):

Version 1.1.0 64bit

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows 10 ver. 1803, fully updated

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

Sorry, no activity log is to be found in the folder: the folder ...\AppData\Roaming\HandBrake\logs is empty.

User avatar
s55
HandBrake Team
Posts: 9217
Joined: Sun Dec 24, 2006 1:05 pm

Re: HandBrake does not run

Post by s55 » Sat May 19, 2018 12:38 pm

Looks like you have a corrupted install of .NET Framework.

System.Deployment.dll appears to be missing.

You might want to run the .NET repair tool

maffe69
Posts: 3
Joined: Sat May 19, 2018 10:05 am

Re: HandBrake does not run

Post by maffe69 » Sat May 19, 2018 4:52 pm

Thanks for your feedback! I had the same intuition, and already applied the .NET repair tool, to no avail, unfortunately. I also perfomed a sfc /scannow system check, again to no avail. I'm a bit short on ideas, right now.

maffe69
Posts: 3
Joined: Sat May 19, 2018 10:05 am

Re: HandBrake does not run

Post by maffe69 » Sun May 20, 2018 5:42 pm

I downloaded and run a very usefull utility, the .NET Framework setup verification tool. It seems that my .NET Framework 4.7.2 is working perfectly for this little guy ... but not for HandBrake. Anyone out there with further ideas? Again, any help would be really appreciated.

Post Reply