File does not exist!

Hi all,I’m trying to access databases on a remote Domino server using the Lotus c++ 3.0 toolkit. When I try to call

LNNotessession.GetDatabase(ln_FilePath,&m_lnDatabase,l_lnServerName))

on a database that I know the exact path to ( in ln_FilePath). It throws up an error saying : File does not exist!!

But it does! I have made sure that the ln_FilePath object in the call to GetDatabase above is the fully qualified path to the database nsf. I also have access rights to the domino server and this particular database.

What’s more astonishing is that I can access all the other databases in the very same directory using the same call if I just change the name of the database to somethingelse.nsf !! I really don’t know why it’s saying “File does not exist” for this one when it is right there, and still picks up somethingelse.nsf which sits alongside it in the same directory.

If anyone has seen such behavior before, please advise. ANY inputs will be much appreciated.