NotesException: User username is not a server

I am trying to intialize a notes session using COM API but I keep running into NotesException: User username is not a server.

Upon investigating I found that this error message indicates that a session is trying to run through the Domino Directory on a client.

However I am not able to understand what is happening here. What does it mean by “Running a session through domino directory on a client” and how can I avoid it.

I have a server installed and running on the machine as well as lotus notes client and designer.

I am trying to use NotesSession.InitializeUsingNotesName .

Any advice will be highly appreciated.

Subject: My guess

you have a Notes client and Domino server on the same machine. COM is using whichever one was installed last. So your app is trying to use the servers COM install vs the client.