Again being fairly new to COM scripting, I just don't know what I am looking at here.

This the error that I am recieving....

COM exception error "setIP" (SFTPCOMInterface.CISite.1 - MX Error: 7 (00000007)) [-2147352567/80020009]

Here is the code that I am using
 Code:
$a_IPlist = Split(ReadValue("\\SEFT02\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{3C86D4EF-07E9-4FE3-A4DA-4CBBD1A3A525}","IPAddress"),"|")
$a_IPList = Bsort($a_IPList)

;  Change the IP's to the correct one for each site.
For $s_Counter = 0 to $o_Sites.count -1
	$s_SiteName = $o_Sites.Item($s_Counter).name
	$s_IP = ReadProfileString("\\dfs\eftdata\eftconfig\globalscape\config.ini","Sites",$s_SiteName)
	$o_site = $o_Server.Sites.Item($s_Counter)
	$s_Index = AScan($a_IPList,$s_IP) + 2
	$o_site.setIP($s_Index)
Next


The error happens on the $o_site.setip($s_index)

I have asked the vendor for assistance as well, but they usually take awhile to get an answer back. So I come here \:\)
_________________________
Today is the tomorrow you worried about yesterday.