0X80040140

VIEW_E_DRAW (0X80040140) — Quick Fix for Drawing Error

Windows Errors Intermediate 👁 1 views 📅 May 27, 2026

Outlook or Office app crashes with this drawing error. Usually a corrupted cached view or add-in. Here's how to kill it fast.

You're in the middle of something, and Outlook throws up the VIEW_E_DRAW (0X80040140) — error drawing view. It's annoying, but I've seen this exact error on dozens of machines running Outlook 2016, 2019, and Office 365. The fix is usually straightforward.

First — Kill the Cached View

The culprit here is almost always a corrupt view cache. Outlook stores a lot of display state (column widths, sorting, filters) in a hidden folder. When that gets corrupted, it can't render the view and throws this error. Here's the fastest fix:

  1. Close Outlook completely. Check Task Manager to make sure there's no OUTLOOK.EXE hanging around.
  2. Open Windows File Explorer. Paste this into the address bar: %localappdata%\Microsoft\Outlook
  3. Look for a folder named Offline Address Books — you'll also see .ost and .pst files. But what you need is a hidden folder called %USERPROFILE%\AppData\Local\Microsoft\Outlook\RoamCache. Yes, that path is longer, but it's where the view cache lives.
  4. Navigate to %localappdata%\Microsoft\Outlook\RoamCache. Delete everything in that folder. Don't worry — these are temporary files. Outlook rebuilds them.
  5. Restart Outlook. The view should render normally now.

If that doesn't work, there's a more nuclear option:

Outlook.exe /cleanviews

Run that from Start > Run (Win+R). It resets all views back to default. You'll lose custom column layouts, but you won't lose email.

Why This Happens

The error 0X80040140 maps to VIEW_E_DRAW — the component rendering the view window fails. This usually happens after an Office update, a crash, or when Outlook is forced to close during a long sync. The cached view data gets partially written or corrupted. It's not a data loss situation — it's purely a display glitch. The view cache is like a snapshot of how you last arranged your folders. Corrupt that snapshot, and Outlook just can't paint the screen.

Sometimes this hits after you resize columns or apply a filter. Outlook tries to save that state, fails silently, and the next time you open that folder — bam, 0X80040140.

When That Didn't Work — Check Add-ins

If deleting the cache didn't fix it, the next most common cause is a bad add-in. I've seen this with old McAfee add-ins, PDF converters (like Adobe Acrobat or Foxit), and CRM plugins. Here's how to test:

  1. Start Outlook in Safe Mode: Hold Ctrl while clicking the Outlook icon, or run Outlook.exe /safe.
  2. If the error doesn't appear, it's an add-in. Go to File > Options > Add-ins.
  3. At the bottom, next to Manage, choose COM Add-ins and click Go.
  4. Disable everything. Restart Outlook normally. If the error is gone, re-enable add-ins one by one until you find the troublemaker.

I've also seen rare cases where a corrupt Navigation Pane causes this. To reset that:

Outlook.exe /resetnavpane

That wipes your folder favorites and navigation settings — but it can unstick the view.

Less Common Variations

Sometimes the error appears in other Office apps — Word or Excel. If you see it there, it's almost always a display driver conflict, not a cache issue. Try these:

  • Disable hardware graphics acceleration: In Outlook, go to File > Options > Advanced. Under Display, check Disable hardware graphics acceleration. Restart.
  • Update your video driver: Especially if you're on a laptop with Intel integrated graphics. A driver update from 2023 fixed this on half a dozen Dell Latitude laptops I work with.
  • Repair Office: Run Control Panel > Programs > Microsoft Office > Change > Quick Repair. If that doesn't work, try the Online Repair — it's slower but more thorough.

One more oddball: I've seen this on systems with the Windows 10 November 2023 update installed alongside a specific version of the Citrix Workspace app. Uninstalling the Citrix app resolved it. If you're in a virtualized environment, check that first.

How to Avoid This Coming Back

You can't prevent every corrupted cache, but you can minimize the risk:

  • Always close Outlook properly. Don't force-quit it with Task Manager unless you have to. Let it finish syncing before closing.
  • Keep Office updated. Microsoft has patched several view-rendering bugs over the years. Run Windows Update or use Office Update in the app.
  • Avoid flaky add-ins. If you got a free plugin for LinkedIn or some PDF tool, and Outlook starts acting up, uninstall it. The juice isn't worth the squeeze.
  • Run Outlook.exe /cleanviews once a quarter. This is a preventive reset. I schedule it via a batch script on my users' machines after patch Tuesday.

That's it. You're back to work. If none of this works, you might be dealing with a corrupt profile — but I've only seen that twice in 14 years. Try creating a new Outlook profile before you reinstall Windows. The error is almost always fixable without resorting to a nuke-and-pave.

Was this solution helpful?