Remotely reading configuration info from an IIS 7.0 via c#
- From: jeff <jeff@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 1 Jun 2009 16:24:01 -0700
Not sure which is the correct forum to post this (I have tried wmi
programming as well) so I apologies if this is not the best place (appreciate
any suggestions).
I am trying to remotely connect to an IIS 7.0 server instance to read
configuration parameters for documentation purposes. I am trying to do this
via c# but none of the researched methods are working? I have tried the
following methods:
Microsoft.Web.Administration - not useful due to the rpc configuration
changes that must be made to the boxes
C# -Using System.Managment and WMI
Receive an "Invalid Namespace"
C# -Using System.DirectoryServices and ADSI
Unknown error (0x80005000)
I am just trying to create a console app that will document the os, sql
server and IIS. I have been able to do the OS (WMI) and SQL (SMO) however,
every route with IIS has failed and nothing I have found researching the
documentation works? Has anyone been able to do this?
.
- Prev by Date: Can you supress specific XML Elements when using LINQ to XML
- Next by Date: Problem in write ControlTemplate in C#
- Previous by thread: Can you supress specific XML Elements when using LINQ to XML
- Next by thread: Problem in write ControlTemplate in C#
- Index(es):
Relevant Pages
|