diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.lib/Clients/IIS/IISClient.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.lib/Clients/IIS/IISClient.cs b/src/main.lib/Clients/IIS/IISClient.cs index 6830086..3efa22a 100644 --- a/src/main.lib/Clients/IIS/IISClient.cs +++ b/src/main.lib/Clients/IIS/IISClient.cs @@ -40,7 +40,14 @@ namespace PKISharp.WACS.Clients.IIS { if (Version.Major > 0) { - _serverManager = new ServerManager(); + try + { + _serverManager = new ServerManager(); + } + catch + { + _log.Error($"Unable to create an IIS ServerManager"); + } _webSites = null; _ftpSites = null; } |