Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
You cannot quit Notes because a Dialog is active

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#CloseDownBug or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/CloseDownBug


It appears that the shutdown process is trying to remove a database from the workspace. The database has a private view and prompts the user if they want to continue with the removal. Immediately after this they are prompted with another Dialog "You cannot quit Notes because a Dialog is active". These two messages begin cascading and pretty soon you have dozens of them. The only way to terminate Notes is to use the task manager and end the Notes program.





First of all to stop the dialogs coming keep pressing the Escape key until you get to the "remove private views?" query dialog then click no.

 

The reason for this error is something to do with the private view. The database I had the problem with had a default private shared on first use view.

To get around the problem try:

1) uninstalling and reinstalling notes for the user  (takes too long and didn't always work)

2) remove the private view and use a single category view (I couldn't do this because the view was a calendar view)

3) Add an exit button to the navigator or view that moved the focus to another database that did not have private views:

REM "See http://www.NotesNinjas.com/#CloseDownBug";
@PostedCommand([FileCloseWindow]);
@PostedCommand( [AddDatabase] ; "SERVER/CORP" : "names.nsf"  )

4) Add code to the database queryclose event which does the same thing:

 ' See: http://www.notesninjas.com/#CloseDownBug";
Dim uiw As New notesuiworkspace
Call uiw.adddatabase( "SERVER/CORP" , "names.nsf"  )

If you find another solution let me know.

 

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Web Services Platform Architecture: Soap, WSDL, WS-Policy, WS-Addressing, WS-Bpel, WS-Reliable Messaging and More by Francisco Curbera, Frank Leymann, Tony Storey, Donald Ferguson, Sanjiva Weerawarana
Other books claim to present the complete Web services platform architecture, but this is the first one I've seen that really does. The authors have been intimately involved in the creation of the architecture. Who better to write this book?
See at: Amazon.co.uk | Amazon.com |