Problem with InitializeUsingNotesUserName

Hi All,

I am facing a problem with an agent, called from webquerysave event of a form. This agent is used to change password and is working fine in all replicas except one. Here it returns an error at line Call vSess.InitializeUsingNotesUserName( username, password)

My code is as given below.

Set vSess=CreateObject(“Lotus.NotesSession”)

   Call vSess.InitializeUsingNotesUserName( username, password) 

We have checked that domobj.tlb file exists in domino program path (C:\Lotus\Domino). Also servers document allows COM for all the users.

Is there any thing else, we need to check. Any ideas are most welcome.

Thanks in advance

Best Regards

Vinit Tyagi