标签:xxx.nsf has not been opened yet
在创建session时需要写入registration 方法,这样就可以解决这个问题了。
....
Session s = NotesFactory.createSessionWithFullAccess();
Registration r= s.createRegistration();
r.switchToID(“c:\\notesIDFile.id”,“notespassword”);
Database database = s.getDatabase(“server”, "dbname.nsf", false);
....
xxx.nsf has not been opened yet解决方法
标签:xxx.nsf has not been opened yet
原文地址:http://elisazhang.blog.51cto.com/6332349/1749808