4 questions
0
votes
0
answers
32
views
Enable module in IIS location tag via Microsoft.Web.Administration or AppCmd
I'm working on an application which needs to load an IIS module into IIS. Up until now, I've been loading my module at the global level using the Microsoft.Web.Administration ServerManager via:
public ...
1
vote
0
answers
1k
views
DCOM Exception in Event Viewer due to IIS related activities in remote machine
I'm receiving Event ID 10028 (DCOM) in remote machine when fetching IIS Server Webistes and AppPools using Microsoft.Web.Administration dll:
DCOM was unable to communicate with the computer evserver1....
0
votes
1
answer
267
views
How to validate Microsoft.Web.Administration ObjectState
Hello here is my csharp code to get all sites from the IIS Server
List<IISObject> iisSiteList = new List<IISObject>();
ServerManager serverMgr = new ServerManager();
SiteCollection ...
1
vote
2
answers
162
views
Microsoft.Web.Administration not saving changes to a site's custom log fields collection
I'm trying to use the Microsoft.Web.Administration API to configure a site's custom log fields. Here's my code:
$serverManager = [Microsoft.Web.Administration.ServerManager]::New()
$config = $...