how to remotely connect to the hub using the Nimbus API

Discussion created by ccarvell on Feb 3, 2011
Latest reply on Nov 19, 2013 by bmorse

I am trying to simply connect to the hub server with a little bit of code from the example in the API documentation.  I am using powershell, but could just as well use

I am trying to run this from my workstation, and I have the infrastructure manager installed.  I am also an admin in Nimbus


Powershell code:








$contSession = 

New-Object Nimsoft.NimBUS.messaging.NimbusSession("MN4S21032",48000) 



In the above example, everything is fine, until I call the .login.  At that point I get the following error:


Exception calling "Login" with "3" argument(s): "Failed to log in. Check user name and password."

At C:\TEMP\ProbeFinder\ProbeIterator\t.ps1:4 char:19

+ $contSession.Login <<<< ("ccarvell","Jeriann18",$false)

+ CategoryInfo : NotSpecified: (:smileyhappy: [], MethodInvocationException

+ FullyQualifiedErrorId : DotNetMethodException"


I know that the username and password are correct, as I can launch the Infrastructure tool and use that to login to it.

BTW I also tried similiar code in, same error


Any hints or suggestions?