Automation Server register error

Hi, all, I write an Automation Server application with Delphi5
and then using the command: "filename /regserver" to register my
application. my problem is that it works ok in some machines, but
in some other machines I got an error message "application error
exception" while I try to register it. btw, I run on Windows NT4.

any suggestion is very appreciated!