error from ASP

  • From: "pradeep" <pradeepguns@xxxxxxxxx>
  • To: exchangelist@xxxxxxxxxxxxx
  • Date: Sat, 11 May 2002 05:47:40 -0600

I am trying to use the NamInstance object for converting an NT user into an 
exchange object and therefore get his email
the code is in a DLL


strDomain = "KOLAM0"
strUserName = "Pradeep"
Set nto = New NameTranslate

nto.InitEx _ DS_NAME_INITTYPE_SERVER, "Kolam", "administrator", "kolam0", "pwd"

nto.Set ADS_NAME_TYPE_NT4, (strDomain & "\" & strUserName)
strTranslate = nto.Get(ADS_NAME_TYPE_1779)

' Bind to the user object via LDAP
Set oUser = GetObject("LDAP://"; & strTranslate)


when this component is used from a VB client there is no error ,
But when i use it from an ASP page i get the following error

******Automation error Name translation: Could not find the name or 
insufficient right to see name*************

Can any of U help me out 

Thanks in advance

Other related posts:

  • » error from ASP