Oh. I'm sorry. I missed your saying it worked on other servers.
Ugh.
Okay, so the problem *PROBABLY* is in one of your arguments to the method.
For example, if the COM component is expecting a String and you pass a Double, then VBS won't be able to match to that method. Remember, it has to match BY TYPE when calling a method.
In the code you show there, you do *NOT* create any definition of either
xmlstr or
errorstr.
Code:
status = swobj.Login(inpstr, xmlstr, errorstr)
Perhaps you just need to make sure each of those *IS* a string??
That is, maybe just do
Code:
xmlstr = ""
errorstr = ""
status = swobj.Login(inpstr, xmlstr, errorstr)
If you have the code for that component, can you show JUST the declaration line for that method?