OpenByReplicaId causing error

Hi,When trying to open one database from another database using OpenByReplicaId method, it is causing following error:

“Notes error: Unable to open Name and Address book(%s), due to error ‘%e’. Locations cannot be used until problem has been corrected.”

Both the databases are present on the same server and are not locally encrypted.

Replicas of these databases are already present on another servers and they are working without any problem.

Does anybody have idea what might be the cause of error?

Thanks for your help in advance.

Regards,

Susmita