Forum Discussion
Omer_Iqbal_6912
Apr 12, 2011Nimbostratus
Issues with iControl.dll on network?
Hi:
I have a few PowerShell Cmdlets in a dll that in turn uses iControl.dll to access configuration in the F5 switch. Execution from a local machine succeeds, however, when the module is i...
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
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects