Domino & Notes error

Cannot execute the specified command

What it means

A button, action, hotspot or toolbar item ran an @Command that does not work in the current context.

Common causes

  • An @Command that needs an open document run from a view, or the reverse
  • Running the command from the wrong frame of a framed window
  • Commands that need the Notes client run in a background agent or on the web

Quick fixes

  1. Check the help for the @Command and where it is supported
  2. Test the action in the right context, or click the correct frame first
  3. Guard the formula with @IsDocBeingEdited or similar checks, or rewrite it in LotusScript

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.