Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CreateAsync completion failed, error -2147221164
#1
Hi,

Stumped by this one, most likely something i've done wrong but I can't work it out.

I have a development system and a live system. On the dev system everything is working as it should be.

On the live system I get the following message when enabling "LogMode" as per help.


2022-12-06 13:38:47.025 -------------------------------------------------------------------------
2022-12-06 13:38:47.026 ------ Starting new WebView2 instance                              ------
2022-12-06 13:38:47.026 -------------------------------------------------------------------------
2022-12-06 13:38:47.027 Application: C:\Program Files (x86)\Microsoft Office\OFFICE11\MSACCESS.EXE (6332)
2022-12-06 13:38:47.027 Win32
2022-12-06 13:38:47.028 Current Directory: C:\Users\whiting\Documents
2022-12-06 13:38:47.028 AntView loaded C:\PROGRA~2\AntView\Win32\AntView.ocx
2022-12-06 13:38:47.038 AntView version 1.1.200.0
2022-12-06 13:38:47.039 User: whiting
2022-12-06 13:38:47.040 Initializing defaults
2022-12-06 13:38:47.044 EventSink changed, creating inplace object $
2022-12-06 13:38:47.046 Reading Version = 1.1.200
2022-12-06 13:38:47.055 Configuring default userDataFolder.
2022-12-06 13:38:47.057 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2022-12-06 13:38:47.058 Creating window $50238
2022-12-06 13:38:47.065 Test if WebView2 control is OK.
2022-12-06 13:38:47.066 Start async creation of the WebView2 control.
2022-12-06 13:38:47.066 BrowserExecutableFolder:
2022-12-06 13:38:47.067 UserDataFolder: C:\Users\xxx\AppData\Local\Temp\2\MSACCESS.EXE.WebView2\
2022-12-06 13:38:47.067 Setting environment options: chrome flags: [] Language [] Min. Browser version [95.0.1020.44] Single Sign On False
2022-12-06 13:38:47.068 Reading InstallPath = C:\Program Files (x86)\AntView
2022-12-06 13:38:47.069 Trying to load the loader DLL as C:\Program Files (x86)\AntView\Win32\WebView2Loader.dll
2022-12-06 13:38:47.071 Loading from InstallPath : success.
2022-12-06 13:38:47.071 Loaded as C:\Program Files (x86)\AntView\Win32\WebView2Loader.dll
2022-12-06 13:38:47.072 Version = 1.0.1108.44
2022-12-06 13:38:47.073 Assigned loader library procedures.
2022-12-06 13:38:47.369 CreateAsync completion failed, error -2147221164


I have checked and the library is installed "as admin" and -2147221164 is "Class not registered", But as you can see above, its loaded the ocx correctly, and has located the dll to load.

Any suggestions? I've double checked the EdgeRuntime is installed as admin as well.

Dave
Reply


Messages In This Thread
CreateAsync completion failed, error -2147221164 - by flubster - 2022-12-06, 14:01:41

Forum Jump:


Users browsing this thread: 1 Guest(s)