xxx.nsf has not been opened yet解决方法
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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解决方法的主要内容,如果未能解决你的问题,请参考以下文章
Coinitialize has not been called 错误信息
Hangfire JobStorage.Current property value has not been initialized
React NativeInvariant Violation: Application AwesomeProject has not been registered
System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been complete