BLOG     |     FORUM
Welcome, Guest
Username: Password: Remember me
Get quick Unbrowse SNMP help from Unleash Networks Engineers. The fastest way.
  • Page:
  • 1
  • 2

TOPIC: Cannot run vbs scripts with trial Unbrowse

Cannot run vbs scripts with trial Unbrowse 12 years 10 months ago #487

  • David
  • David's Avatar
I am testing the Unbrowse scripts. None of scripts will run. They create an error when trying to run the "Init" function.

Set AgentMgr = CreateObject("UnbrowseSNMP.AgentManager")
Set Getter = CreateObject("AtSnNovo.Snut")
AgentMgr.Init

The script errors out on the line "AgentMgr.Init". Also, I cannot find a DLL/EXE for UnbrowseSNMP so I am guessing the object does not get created. Am I missing something or is this only available with a full license.

I am using Windows XP.
The administrator has disabled public write access.

Re:Cannot run vbs scripts with trial Unbrowse 12 years 10 months ago #488

Hi,

The scripting should work with all versions of Unbrowse.

1) What is the error message ?

2) Are you able to use the Unbrowse GUI ?

3) The DLLs and EXEs are in the program files dir.

We should be able to fix it, my first suspect is some AV preventing proper registration of the DLL/EXE components.
Vivek R
Unleash Networks
Support : www.unleashnetworks.com/forums
The administrator has disabled public write access.

Re:Cannot run vbs scripts with trial Unbrowse 12 years 10 months ago #490

  • David
  • David's Avatar
The error I get is:

Runtime Error!

Program: S:\Windows\system32\cscript.exe

abnormal program termination


I am able to use the Unbrowse GUI and I have made sure to register the DLL/EXE files in the Program Files dir.

Any ideas?
The administrator has disabled public write access.

Re:Cannot run vbs scripts with trial Unbrowse 12 years 10 months ago #491

Do you have the GUI running while running the script ? Can you try shutting down the GUI and then running the script.

I will check and get back to you shortly on this.
Vivek R
Unleash Networks
Support : www.unleashnetworks.com/forums
The administrator has disabled public write access.

Re:Cannot run vbs scripts with trial Unbrowse 12 years 10 months ago #492

  • David
  • David's Avatar
That worked. When I shut the GUI window down I can run the scripts.
The administrator has disabled public write access.

Re:Cannot run vbs scripts with trial Unbrowse 12 years 10 months ago #497

Hi David,

You can also do a InitReadOnly, this will enable you to run the UI and script at the same time.
Set AgentMgr = CreateObject("UnbrowseSNMP.AgentManager")
Set Getter = CreateObject("AtSnNovo.Snut")
..
AgentMgr.InitReadOnly
..

I also updated the docs to explain this method.


Thanks,
Vivek R
Unleash Networks
Support : www.unleashnetworks.com/forums
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: vivek [unleash]
Time to create page: 0.029 seconds