NotesException when calling openDatabase in Session object

Hi everybody,

I simply try to open an existing Lotus Notes database to display the content of a view. I already get a valide Session object. When trying to access any database locally or on a server i get the same NotesException all the time:

NotesException: Password or other security violation for database MyServerName/MyOrganisation!!MyPath/MyDatabase.nsf

at lotus.domino.local.Session.NgetDatabase(Native Method)

at lotus.domino.local.Session.getDatabase(Unknown Source)

The code is as follows:

NotesJob job = new NotesJob(“DatabaseJob”) {

		protected IStatus runInNotesThread(IProgressMonitor mon) {

			Session session = NotesPlatform.getInstance().getSession();

			try {

			//##################

System.out.println("CURRENT SYSTEM: " + session.getPlatform());

System.out.println("USERNAME: " + session.getCommonUserName());

Database db = session.getDatabase(“MyServerName/MyOrganisation”, “MyPath/MyDatabase.nsf”);

Some more informations:

Plattform: WinXP

Notes: 8.0.2

Development Environment: Eclipse 3.2.2 with Expeditor Toolkit

Runtime: Notes JRE

I hope anybody has a solution for this :wink:

Jens

Subject: Did you find out a solution to this?

Hello Jens,

Did you find out what the problem was? I have a similar problem only that I am able to access local database, but not a replica of the same base on another server.