Once I click to submit the query, the HTML app hangs for about 60 seconds, then returns the following error:
Error: The RPC server is unavailable.
There is no line 587 in wmi_admin.hta, and if I'm not mistaken, it is actually referring to wmiadmin.js
Line 587: this._service[ip].Security_.ImpersonationLevel = 3; // == Impersonate
This is where I'm hitting the error.
I figured it was an issue with the RPC service running as NT Authority\Network Service, so I changed the logon for RPC to reflect the same domain admin user I was running the script as. However, once RPC is restarted with the specified user, the error changes from:
The RPC server is unavailable.
Same line and char and code, however.
I'm a java script newbie, any assistance would be greatly appreciated.
Windows XP Professional SP3, RPC is running, user is a domain admin.
I am trying to scan the DHCP range of my network, but not all of the IPs in the range are in use. So, when the app tries to scan an IP that is not in use, it throws the specified RPC Server Unavailable error.
Is the app scripted to ignore IPs from which there is no response?
I wish I knew java script better, but unfortunately I wouldn't know how to go about scripting it so that it will ignore the unused IPs in the specified range.
If I directly query an IP that I know is currently assigned, it works just fine.