open Lotus Notes (.nsf) file & read the database in C# .net

G

Guest

Hello,

I would like to know how we can read the notes database in .C# .net.
I tried the following mechanism.by which am unable to open the Database.

NotesSession notesSession = new NotesSession();
notesSession.Initialize("ABC1234");
notesDB = notesSession.GetDatabase("local",
"d:\lotus\notes\data\New\Como.nsf",true);
if(!notesDB.IsOpen)
{
notesDB.Open();

}
when i tried the above code..the following error is throwned.

Database open failed (local!!d:\lotus\notes\data\New\Como.nsf).

Let me know if any one of you come across the similar kind.

Thanks
Sowmya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top