Last Updated: October 12, 2022
ISSUE
When attempting to access the DAO API from something other than an Office application, typically by trying to create a DAO.DBEngine object, for example from a vbscript application:
-
Dim DBEngine
-
Set DBEngine = CreateObject("DAO.DBEngine.120")
Or a C++ application:
-
DAO::_DBEngine* pEngine;
-
HRESULT hr = CoCreateInstance(__uuidof(DAO::DBEngine), NULL, CLSCTX_ALL, IID_IDispatch, (LPVOID*)&pEngine);
You get the error message: “The operating system is not presently configured to run this application.”
This problem was introduced in Version 2209, released to Current Channel on September 26, 2022, Build 15629.20156, and is also present in Beta and Current Channel (Preview).
This impacts both the full version of Office, and the Microsoft Access 365 Runtime. It does not affect the Microsoft Access Database Engine 2016 Redistributable.
STATUS: FIXED
The fix for this issue is now available in Current Channel, Version 2209, Build 15629.20208.
The fix is also available in Current Channel (Preview), Version 2210, Build 15726.20096, and Beta Channel, Version 2210, Build 15806.20000.
More Resources
Ask the experts
Connect with experts, discuss the latest news, updates, and best practices, and read our blog.
Get help in the community
Ask a question and find solutions from Support Agents, MVPs, Engineers, and other Office users.
Suggest a new feature
We love reading your suggestions and feedback! Share your thoughts. We're listening.