Troubleshooting & Solutions

WebView2 COM Exception (0x8007139F)

This error occurs when launching Voxta and is related to Microsoft Edge WebView2. The error message typically includes:

System.Runtime.InteropServices.COMException (0x8007139F): 
The group or resource is not in the correct state to perform the requested operation.

Cause:

The issue is often caused by an incorrect entry in the Windows registry under AppCompatFlags/Layers, affecting msedgewebview2.exe.

Solution:

Deleting the problematic registry entry can resolve the issue:

  1. Open Registry Editor (Win + R, type regeditand press Enter).

  2. Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

  3. Look for an entry containing msedgewebview2.exe

  4. Right-click the entry and select Delete

  5. For more details, see the related discussion:

    GitHub WebView2 Issue #3008

Voxta Cannot Run from a Folder with Spaces

Voxta fails to initialize and throws an InvalidOperationException when installed in a folder containing spaces. The error message appears as:

System.InvalidOperationException: Cannot run Voxta from a folder with spaces. Please move your installation elsewhere.

Cause

Voxta does not support being installed in a directory with spaces in its name. This limitation affects service startup and hosting initialization, leading to a failure during application startup.

Solution

  1. Move the Voxta installation folder to a directory without spaces.

    • Invalid installation paths:

      C:\Users\John Doe\Voxta  
      D:\My Applications\Voxta  
      
    • Valid installation paths:

      C:\Voxta  
      D:\Apps\Voxta  
      
  2. Update any shortcuts or scripts referencing the old path to reflect the new location.

  3. Restart Voxta after relocation to ensure proper initialization.

Additional Notes

  • This restriction ensures compatibility with internal path resolution and dependency management.
  • If moving the folder is not feasible, consider using symbolic links or renaming parent directories to remove spaces.