Skip to content

COM exeception on website after it is published

Walter Cuadros

Asked Jul 18, 2010, 8:00 AM EDT1 answer
Share
LinkedInX
I created a website using VStudio 2005. I have code to read e-mails from Lotus Notes. I debugged and tested the application using the Development server that comes with VStudio 2005 and it works properly. I published this website to my local drive in order to perform further testing. When I test the page I created to read Lotus Notes e-mails, I get the following error.
System.Runtime.InteropServices.COMException (0x80040FA0): Notes error: Could not open the ID file at Domino.NotesSessionClass.Initialize(String pPassword) at LotusNotesDb.initialize(String keyword, String notesServer, String notesFile)

private NotesDatabase db = null;

private NotesSession session = null;

private string sessionStatus = null;

 

public void initialize(string keyword, string notesServer, string notesFile)

 

    {

        sessionStatus = "connected";

        try

        {

            setSession(new NotesSession());

            session.Initialize(keyword);

            setDb(getSession().GetDatabase(notesServer, notesFile, false));

        }

        catch (Exception e)

        {

            sessionStatus = "Not connected "  + e.ToString();

            setSession(null);

        }

    }

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Hi, Walter
    Did you find solution ? I have the same issue and couldn't find how to fix it.
    0