Domino & Notes error

You are not authorized to access the view

Usually shows up from agents, LotusScript or web pages rather than when browsing in the client.

What it means

The view has its own access list ("Who may use this view") or the identity running the code cannot open it, so Notes refused to open the view.

Common causes

  • The view's security tab limits it to certain names or roles and the user or agent signer is not included
  • An agent runs as its signer or "Run on behalf of" name, which is not in that list or not in the ACL
  • Code running on a server is opening a view in a database on another server that does not trust it

Quick fixes

  1. Open the view in Domino Designer and check the "Who may use this view" setting on the security tab; add the name, group or role
  2. Check who the agent runs as (signer or "Run on behalf of") and make sure that name has access to the database and the view
  3. For server-to-server code, check the Trusted servers field on the Security tab of the target server's Server document
  4. Re-sign the design element with an appropriate ID after changing it

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.