Applies ToAccess for Microsoft 365

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.”

Screenshot of error "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

Icon Experts (brain, gears)

Ask the experts

Connect with experts, discuss the latest news, updates, and best practices, and read our blog.

Access Tech Community

Icon Community

Get help in the community

Ask a question and find solutions from Support Agents, MVPs, Engineers, and other Office users.

Access Forum on Answers

Icon feature request (light bulb, idea)

Suggest a new feature

We love reading your suggestions and feedback! Share your thoughts. We're listening.

Provide feedback

See Also

Fixes or workarounds for recent issues in Access

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.