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:
-
Open Registry Editor (Win + R, type
regedit
and press Enter). -
Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
-
Look for an entry containing msedgewebview2.exe
-
Right-click the entry and select Delete
-
For more details, see the related discussion:
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
-
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
-
-
Update any shortcuts or scripts referencing the old path to reflect the new location.
-
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.