The following error is generated inconsistently on the "Init" function. The createobject seems to have worked properly.

COM exception error "Init" ((null) - (null)) [1/1]

2002/01/31 08:04:55 - LookupADname: (NameTranslate) Init error:1 / COM exception error "Init" ((null) - (null)) [1/1]


This error is generated using the following code which has worked flawlessly on my W2K SP2 Laptop.

code:
$NameTranslate = CREATEOBJECT ("NameTranslate")
if @error <> 0
WriteLog ("LookupADname: (NameTranslate) CreateObject error:" + @error + " / " + @serror)
endif

$NameTranslate.Init ($InitType, $BindName)
; $InitType = 3 and $BindName = "" to connect to the GC
if @error <> 0
WriteLog ("LookupADname: (NameTranslate) Init error:" + @error + " / " + @serror)
endif


The error is occurring on a W2K SP2 Japanese OS with the User Lanaguage set to 0409 English.

Does anyone have any insight into what could be going wrong here? One time the user logs on the error occurs. The next time is may work. I personally have never had the problem on my computer.

[ 31 January 2002: Message edited by: Howard Bullock ]

_________________________
Home page: http://www.kixhelp.com/hb/