How can I manage IIS remotely from another server using C #?
ServerManager.OpenRemote("ServerName");
I need an example of ServerName format in above snippet code
I tried this example with "localhost" parameter but did not return any value
How can I manage IIS remotely from another server using C #?
ServerManager.OpenRemote("ServerName");
I need an example of ServerName format in above snippet code
I tried this example with "localhost" parameter but did not return any value
You need to ensure that you have enough administration privilege to access the remote IIS, such as Firewall is disabled on both the server. The logon user is domain\administrator.
This link also provide some configuration to enable the DCOM: