I have a .net code inside a windows app that extracts attachments from my lotus notes email account.
everything works fine here.
Now I want the the same logic to work inside a windows service .net code. however I am getting this weird error that says "Notes error unable to find ID file " and this occurs when it tries to initialize the session object like the following.
I have checked that my nots.ini file and the id file are located inside c:\documnets and settings\ xyz\local settings\application data\Lotus\notes\data directory structure which I think is created by the lotus notes program itself.
and the KeyFileName=xyz.id
This is taking my time and I cannot believe it is working in windows application but not in a windows service code.
FYI the password is correct