FIM powershell activity deployment issue


Hi All,

I am facing issue with Powershell activity deployment on FIM Server. Following is the scenario:

FIM portal and FIM service on different server

When i try to run following command on FIM portal:

Import-Module D:\FIM2010-PowershellActivity\FIMPowerShellModuleV2-1\FimPowerShellModule.psm1

i received following error:

Get-FimObjectID : Import-FimConfig produced an error while resolving this object in the target systemFailure when making web service call.
SourceObjectID = 00000000-0000-0000-0000-000000000000
Error = System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at
http://localhost:5725/ResourceManagementService/MEX that could accept the message. This is often caused by an incorrect address or SOAP
action. See InnerException, if present, for more details. ---> System.Net.WebException: Unable to connect to the remote server --->
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address,
ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

Any help will be greatly appreciated.
Closed Dec 31, 2016 at 3:57 PM by bdesmondMVP
No Repro


CraigMartin wrote Jan 30, 2015 at 12:46 AM

Looks like you're not specifying the server name. If running on the FIM Service computer then you can omit it, but if you're running it from another computer then you must specify the server name.

wrote Dec 31, 2016 at 3:57 PM