Domino & Notes error

HTTP Web Server: Application Exception - Documents treated as HTML cannot be edited

What it means

A browser tried to open a document in edit mode, but its form is set to treat the content as HTML, which Domino cannot edit on the web.

Common causes

  • The form's content type is set to HTML (older option: treat document contents as HTML)
  • A link or button uses ?EditDocument on documents created with that form

Quick fixes

  1. Change the form's content type back to Notes in the form properties, if editing is needed
  2. Otherwise, remove the edit link or button for those documents
  3. Use a separate form or an XPage for editing the data

Need a hand with this?

Paste your exact message into What's That Error? for a plain-English explanation, or get in touch. I've been supporting Domino and Notes for 28 years.

Disclaimer

The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.

This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.