I'm using java to connect to Domino. Since the diiop_ior.txt file is protected I'm using the following call to create a session.
session = NotesFactory.createSessionWithIOR(
ior_str, username, password
);
This causes the following exception to be thrown.
NotesException: Server access denied
at lotus.domino.NotesExceptionHelper.read(Unknown Source)
at lotus.domino.NotesExceptionHolder._read(Unknown Source)
at lotus.priv.CORBA.iiop.RepImpl.invoke(Unknown Source)
at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at lotus.domino.corba._IObjectServerStub.createSession(Unknown Source)
at lotus.domino.cso.Session.initSession(Unknown Source)
at lotus.domino.cso.Session.<init>(Unknown Source)
at lotus.domino.cso.Session.createSession(Unknown Source)
at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
at lotus.domino.NotesFactory.createSessionWithIOR(Unknown Source)
at lotus.main(lotus.java:96)
I get this same error whether I use the correct login or an incorrect one. I've also tried using the administrator login and an HTTP login. I didn't set up the server so I'm not positive of what all the security settings are, but can find out if needed. Other than 'Allow HTTP Client To Browse Databases' being set to 'No' are there any other ideas why I would be getting this error? Please let me know if any other information is needed to help diagnose this problem.
Thanks
session = NotesFactory.createSessionWithIOR(
ior_str, username, password
);
This causes the following exception to be thrown.
NotesException: Server access denied
at lotus.domino.NotesExceptionHelper.read(Unknown Source)
at lotus.domino.NotesExceptionHolder._read(Unknown Source)
at lotus.priv.CORBA.iiop.RepImpl.invoke(Unknown Source)
at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at lotus.domino.corba._IObjectServerStub.createSession(Unknown Source)
at lotus.domino.cso.Session.initSession(Unknown Source)
at lotus.domino.cso.Session.<init>(Unknown Source)
at lotus.domino.cso.Session.createSession(Unknown Source)
at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
at lotus.domino.NotesFactory.createSessionWithIOR(Unknown Source)
at lotus.main(lotus.java:96)
I get this same error whether I use the correct login or an incorrect one. I've also tried using the administrator login and an HTTP login. I didn't set up the server so I'm not positive of what all the security settings are, but can find out if needed. Other than 'Allow HTTP Client To Browse Databases' being set to 'No' are there any other ideas why I would be getting this error? Please let me know if any other information is needed to help diagnose this problem.
Thanks