getDatabase method UREGENT

Hi all,

I’m using this method to connect to the Domino db

Session notesSession = NotesFactory.createSession(lnServer + “:” + lnServerPort, username, password);

contactDatabase = notesSession.getDatabase(null, databaseName);

if (contactDatabase.isOpen() == false) {

contactDatabase.open();

}

but the getDatabase method return NOTES EXEPTION: FILE DOES NOT EXISTS

Any idea?

Thanx so much