Setting up a Lotus Notes Development Environment for C#
Posted on 2010-09-22
Well, it's not as easy as I had imagined. I downloaded and installed the latest version of Lotus Notes
in order to do some development in Visual Studio (C#). I need to "talk" to notes from our CRM application
and get it to send emails, create appointments and tasks and add/edit contacts.
But right now I'm having a problem just getting started. I've installed Notes and have manually created
an email, and calendar item, and contact. Now I want to create a notes session: Here is my simple start
to the code:
public static void Test()
Domino.NotesSession session = new Domino.NotesSession();
Domino.NotesDatabase db = session.GetDatabase("", "", true);
When I get to the last line it blows up. I don't have a domino server installed, I thought I could just
use a local store somehow. If anyone could direct me on how to setup a development environment
and/or how to get past this part. Notes doesn't give me any indication as to what the error is it just
says it will contact the help desk or something. Not very helpful.