Author Topic: 7th heaven crashed everytime when I tried to open game launcher settings  (Read 2586 times)

vegetaneoleox

  • *
  • Posts: 4
    • View Profile
Every time I tried to open the game launcher settings in 7th Heaven it just pop up:
An Unhandled exception has occurred and the app must close with the following code attached below
(the Chinese translation in the code:
無效的類別字串 = invalid class string
發生例外狀況於 HRESULT = Exception from HRESULT)
Code: [Select]
23:23:56|ERROR|SeventhHeavenUI.App|System.Runtime.InteropServices.COMException (0x800401F3): 無效的類別字串 (發生例外狀況於 HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
   於 NAudio.CoreAudioApi.Interfaces.IPropertyStore.GetAt(Int32 property, PropertyKey& key)
   於 NAudio.CoreAudioApi.PropertyStore.Contains(PropertyKey key)
   於 NAudio.CoreAudioApi.MMDevice.get_FriendlyName()
   於 SeventhHeaven.ViewModels.GameLaunchSettingsViewModel.InitSoundDevices()
   於 SeventhHeaven.ViewModels.GameLaunchSettingsViewModel..ctor()
   於 SeventhHeaven.Windows.GameLaunchSettingsWindow..ctor()
   於 SeventhHeavenUI.MainWindow.menuItemLaunchSettings_Click(Object sender, RoutedEventArgs e)
   於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   於 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   於 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   於 System.Windows.Threading.DispatcherOperation.InvokeImpl()
   於 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   於 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   於 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   於 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   於 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   於 System.Windows.Threading.DispatcherOperation.Invoke()
   於 System.Windows.Threading.Dispatcher.ProcessQueue()
   於 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   於 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   於 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   於 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   於 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   於 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   於 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   於 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   於 System.Windows.Application.RunDispatcher(Object ignore)
   於 System.Windows.Application.RunInternal(Window window)
   於 System.Windows.Application.Run(Window window)
   於 SeventhHeavenUI.App.Main()

The game runs fine and I checked that my .NET framework is the latest version
I tried reinstalling 7th heaven but the problem still exists so I have no idea what I have done wrong.
Do anyone has any clue how to fix it? Thanks in advance for your help!!

LordUrQuan

  • Alpha testing your worst nightmares
  • *
  • Posts: 591
  • LOAD "FF2J",8,1
    • View Profile
Only the English version is currently supported.  A couple more are planned for v2.1, but cn_* is not among them.

vegetaneoleox

  • *
  • Posts: 4
    • View Profile
Only the English version is currently supported.  A couple more are planned for v2.1, but cn_* is not among them.
What do you mean about english version?
The final fantasy VII and steam itself is english version.
The Chinese in it is due to the localisation of .NET framework or do you mean I need to reinstall .NET framework in English?

vegetaneoleox

  • *
  • Posts: 4
    • View Profile
Only the English version is currently supported.  A couple more are planned for v2.1, but cn_* is not among them.
I changed the OS and .NET framework language to English but the same error still popped out.........

Code: [Select]
08:05:09|INFO|SeventhHeavenUI.ViewModels.CatalogViewModel|Checking subscription iros://Url/http$pastebin.com/raw.php?i=QBGsgGK6
08:05:09|INFO|SeventhHeavenUI.ViewModels.MainWindowViewModel|7th Heaven v2.0.3.406 started - Click here to view the app log.  |  Hint: 7th Heaven will auto mount/dismount the virtual game disc if you're on Windows 8 or newer.
08:05:10|INFO|SeventhHeavenUI.ViewModels.CatalogViewModel|Checking subscription iros://Url/http$pastebin.com/raw.php?i=EpQBv5PL
08:05:10|INFO|SeventhHeavenUI.ViewModels.MainWindowViewModel|Updated catalog from iros://Url/http$pastebin.com/raw.php?i=EpQBv5PL
08:05:10|INFO|SeventhHeavenUI.ViewModels.MainWindowViewModel|Updated catalog from iros://Url/http$pastebin.com/raw.php?i=QBGsgGK6
08:05:14|ERROR|SeventhHeavenUI.App|! Unhandled exception (Application.Current.DispatcherUnhandledException)
08:05:14|ERROR|SeventhHeavenUI.App|System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
   at NAudio.CoreAudioApi.Interfaces.IPropertyStore.GetAt(Int32 property, PropertyKey& key)
   at NAudio.CoreAudioApi.PropertyStore.Contains(PropertyKey key)
   at NAudio.CoreAudioApi.MMDevice.get_FriendlyName()
   at SeventhHeaven.ViewModels.GameLaunchSettingsViewModel.InitSoundDevices()
   at SeventhHeaven.ViewModels.GameLaunchSettingsViewModel..ctor()
   at SeventhHeaven.Windows.GameLaunchSettingsWindow..ctor()
   at SeventhHeavenUI.MainWindow.menuItemLaunchSettings_Click(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
08:05:14|ERROR|SeventhHeaven.Windows.UnhandledErrorWindow|System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
   at NAudio.CoreAudioApi.Interfaces.IPropertyStore.GetAt(Int32 property, PropertyKey& key)
   at NAudio.CoreAudioApi.PropertyStore.Contains(PropertyKey key)
   at NAudio.CoreAudioApi.MMDevice.get_FriendlyName()
   at SeventhHeaven.ViewModels.GameLaunchSettingsViewModel.InitSoundDevices()
   at SeventhHeaven.ViewModels.GameLaunchSettingsViewModel..ctor()
   at SeventhHeaven.Windows.GameLaunchSettingsWindow..ctor()
   at SeventhHeavenUI.MainWindow.menuItemLaunchSettings_Click(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
08:05:14|INFO|SeventhHeavenUI.ViewModels.MainWindowViewModel|Checking for app updates ...
08:06:03|ERROR|SeventhHeavenUI.App|! Unhandled exception (AppDomain.CurrentDomain.UnhandledException)
08:06:03|ERROR|SeventhHeavenUI.App|System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
   at NAudio.CoreAudioApi.Interfaces.IPropertyStore.GetAt(Int32 property, PropertyKey& key)
   at NAudio.CoreAudioApi.PropertyStore.Contains(PropertyKey key)
   at NAudio.CoreAudioApi.MMDevice.get_FriendlyName()
   at SeventhHeaven.ViewModels.GameLaunchSettingsViewModel.InitSoundDevices()
   at SeventhHeaven.ViewModels.GameLaunchSettingsViewModel..ctor()
   at SeventhHeaven.Windows.GameLaunchSettingsWindow..ctor()
   at SeventhHeavenUI.MainWindow.menuItemLaunchSettings_Click(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at SeventhHeavenUI.App.Main()

OatBran

  • *
  • Posts: 50
  • moop all day skeent all night
    • View Profile
    • Discord
From what I understand,

Code: [Select]
COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
is a general error meaning that some DLL is either corrupt or is not registered on the system. (meaning the class name being invoked does not exist) Try  re-downloading and reinstalling 7th heaven

if that still doesnt help, try running these commands in an elevated command prompt and see if it helps.

Code: [Select]
regsvr32 C:\WINDOWS\system32\msscript.ocx
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe wshom.ocx
regsvr32.exe msxml3.dll
regsvr32.exe -i shell32.dll
regsvr32.exe OLEAUT32.DLL

If it is because of a missing DLL on your actual windows installation, then idk which one it would be, there is probably some .net runtime you would need to install or some express runtime its hard for me to say
« Last Edit: 2020-05-06 00:56:52 by OatBran »

unab0mb

  • 7th Heaven Crew
  • *
  • Posts: 403
    • View Profile
    • 7th Heaven Web Site
There are known bugs with the newest NAudio package. It's been rolled back for 7H 2.1 and *may* fix this issue. For the time being, you should be able to edit any settings in Game Launcher in your settings.xml file in Notepad.

vegetaneoleox

  • *
  • Posts: 4
    • View Profile
There are known bugs with the newest NAudio package. It's been rolled back for 7H 2.1 and *may* fix this issue. For the time being, you should be able to edit any settings in Game Launcher in your settings.xml file in Notepad.
Sorry but where can I find the older version of 7th Heaven?