When attempting to install the Okta RADIUS Agent on a Windows Server, the installation fails, and the following error message is displayed:
Could not create WebView2. Error code: 80070002
- Okta RADIUS Agent
- Windows Server operating systems
- Microsoft Edge WebView2 Runtime
This error indicates that the required Microsoft Edge WebView2 Runtime is either missing or not properly installed on the Windows Server. The Okta RADIUS Agent installer (and other modern Windows applications) relies on this runtime to display its graphical user interface. WebView2 Runtime is essential for rendering web content within desktop applications and may not be included by default on some Windows Server environments.
This is a system prerequisite for the installer to function correctly, not an issue with the Okta RADIUS Agent itself.
To resolve this issue, download and install the latest version of the Microsoft Edge WebView2 Runtime directly from Microsoft. After installation, attempt to run the Okta RADIUS Agent installer again.
- Download the WebView2 Runtime.
- Navigate to the official Microsoft Edge WebView2 download page.
- Select the appropriate installer.
- For most server deployments, choose the Evergreen Standalone Installer.
- Select the architecture that matches the server (x64 for most modern servers).
- Install the Runtime.
-
- Run the downloaded installer and follow the on-screen prompts to complete the WebView2 Runtime installation.
- Re-run the Okta RADIUS Agent Installer.
- Once the WebView2 Runtime is successfully installed, attempt to run the Okta RADIUS Agent installer again. The installation should now proceed without the WebView2 error.
