| Author |
Message |
Dave Knill Junior Member
Joined: 12 Mar 2004 Posts: 8
|
Posted: 12-16-2004 01:13 PM Post subject: ParseIPFromString Error |
|
|
Hi
I have installed HomingBeacon (2.0.111) on my Windows 2000 Advanced Server. When running it, the program starts fine but fails when trying to determine my IP. It cycles around all of the detection sites, but each one has the same error :
20:58:57 - IP Detect using: <whichever site it's using>
20:58:58 - ParseIPFromString:-2147319779 Automation error Library not registered
20:58:58 - Couldn't get IP using <whichever site it listed above>
20:58:58 - Updated Score.
I have installed MSXML 4.0 SP2 and am using Windows Scripting host 5.6.
I have tried this on my Windows XP client (Service Pack 2 and on the same local area network) and it works fine, so there's obviously something missing on W2K Server, but what 's missing?
Thanks
P.S. Just noticed the DLL's in the program folder - Tried registering them manually (regsvr32) but no joy. Unregistered and re-registered them but still not working - I'm all out of ideas now! |
|
| Back to top |
|
 |
sam Member
Joined: 21 Nov 2002 Posts: 81
|
Posted: 12-20-2004 03:00 PM Post subject: |
|
|
Hmmm, this error looks like it stopping on the regex engine while trying to parse an IP address. I will see what COM object that is and make sure that its loaded. I believe the core vb runtime kit includes all of that, including scripting host 5.5+... Have you tried reinstalling?
Sam |
|
| Back to top |
|
 |
Dave Knill Junior Member
Joined: 12 Mar 2004 Posts: 8
|
Posted: 12-20-2004 04:08 PM Post subject: |
|
|
Hi Sam
Thanks for the reply. I installed VB 6 Runtimes (SP 5) but error is still the same. Tried a reboot after the install (it didn't ask for one but, hey, this a is Microsoft product!), no change.
Uninstalled and reinstalled (complete install option) The HomingBeacon and error still persists.
I don't know anything about COM objects but can provide you with any info you require - Let me know.
Thanks
Dave |
|
| Back to top |
|
 |
sam Member
Joined: 21 Nov 2002 Posts: 81
|
Posted: 12-20-2004 04:13 PM Post subject: |
|
|
Hello,
Can you find the following DLL and let me know the size in bytes, version, and dates?
vbscript.dll
Here is the following line that is tripping the error I believe.
Set regEx = CreateObject("VBScript.RegExp") ' Create regular expression.
The VBScript.RegExp function is contained within the above dll - if that is missing or non-accessable it may cause problems.
Thanks,
Sam |
|
| Back to top |
|
 |
Dave Knill Junior Member
Joined: 12 Mar 2004 Posts: 8
|
Posted: 12-21-2004 08:29 AM Post subject: |
|
|
The info for vbscript.dll is:
File is in C:\WINNT\system32 and C:\WINNT\system32\dllcache
Date/Time: 26th February 2002 14:58
Size: 453 bytes
Version: 5.6.0.7426
I have checked the permissions and they are fine (I'm running the program as a local administrator which has inherited full control of that file).
So, I fired up the command line, ran
[b]regsvr32 vbscript.dll[/b]
and, BINGO!, HomingBeacon now works. Did a reboot, just to be sure, and it's still working.
As to why the VB Runtimes didn't register this DLL when I installed it, I don't know - I didn't get any error messages when it installed, either on the screen or in the event log. Weird.
Thanks for your help on this one.
Dave |
|
| Back to top |
|
 |
|