Forum Discussion
Apr 12, 2011
If an exception occurs during the initialize call in the iControl.Interfaces class, any internally caught exception is stored in the m_lastException private member that is accessible with the LastException() accessor.
boolean success = _interfaces.initialize(bigip, user, pass);
if ( ! success ) {
Exception ex = _interfaces.LastException();
Console.WriteLine(ex.Message.ToString());
}
The only thing I can think of is that the user context that the cmdlet is running under in your situation doesn't have the required ACLs to access the network.
I am curious though about what you mean by "imported from the network". Does that mean you are using a tool to pull the cmdlet's from a network share or that you are trying to run them from a server based context of some sort?
-Joe