BB launch error if DX corrupted

Issue #3105 new
Martin Conroy created an issue

Got the below error which I suspect is due to a corrupt DirectX file

(Inner Exception)

HRESULT: [0x80004005], Module: [General], ApiCode: [E_FAIL/Unspecified error], Message: Unspecified error

App: Big Box Version: 7.11-beta-3 Type: SharpDX.SharpDXException Site: Void CheckError() Source: SharpDX

at SharpDX.Result.CheckError() at SharpDX.DirectInput.DInput.DirectInput8Create(IntPtr hinst, Int32 dwVersion, Guid riidltf, IntPtr& vOutOut, ComObject unkOuterRef) at SharpDX.DirectInput.DirectInput..ctor() at () at Unbroken.LaunchBox.GameControllerHandler.get_Input() at () at Unbroken.LaunchBox.GameControllerHandler.GetCurrentDevices() at Unbroken.LaunchBox.Wpf.BigBox.Data.OptionsListItem..ctor(String name, Action1 saveAction, Action1 loadAction, Func`1 getValues, Boolean playDefaultSound) at () at Unbroken.LaunchBox.Wpf.BigBox.Data.OptionsPages.get_Controller() at Unbroken.LaunchBox.Wpf.BigBox.ViewModels.OptionsViewModel..ctor(MainViewModel mainViewModel) at Unbroken.LaunchBox.Wpf.BigBox.ViewModels.MainViewModel..ctor()

(Outer Exception)

Exception has been thrown by the target of an invocation.

App: Big Box Version: 7.11-beta-3 Type: System.Reflection.TargetInvocationException Site: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef) Source: mscorlib

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at Caliburn.Micro.BootstrapperBase.DisplayRootViewFor(Type viewModelType, IDictionary`2 settings) at (Bootstrapper , Object , StartupEventArgs ) at Unbroken.LaunchBox.Wpf.BigBox.Bootstrapper.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

4:22:26 PM Exception

Comments (5)

  1. Martin Conroy reporter

    Unfortunately not even removing the settings.xml and bigboxsettings.xml and having them recreated fixed this so now I basically can't use BB :(

  2. Martin Conroy reporter

    FYI - I have resolved but thought I'd leave the solution here for reference. What I did was to uninstall all Visual C++ and DirectX updates from Settings ... Apps, then reinstall LaunchBox. Clearly there was some corruption there, but these files must not be updated by the installer - maybe they are in use? After this all was fine. Unfortunately I brutally uninstalled all the updates so not sure exactly which one is the issue. Think the only "good" solution would be if the LB install process forced these files to be overwritten.

  3. Log in to comment