Questions tagged [servermanager]

93 questions
0
votes
2 answers

Microsoft.Web name space missed in XP

am trying to use ServerManager class but I found that "Microsoft.Web.Administration" and "Web.Management.Server" are not found on XP OS. Any help to download Microsoft.Web.Management dll or any other suggestions ? am using VS2010 on XP machine.
Dan
  • 343
  • 3
  • 9
  • 21
0
votes
1 answer

Restart the site only works when I put a breakpoint above

Context I use the ServerManager class to perform some actions on sites. Actually, I delete bindings (http/https) on a site1 and I recreate it on a site2. I save changes with .CommitChanges(). After that, the issue is that IIS turns off the site. So…
GG.
  • 21,083
  • 14
  • 84
  • 130
-1
votes
1 answer

Get IIS version programmatically

I want to access an IIS server programmatically in C# and I choose to use Microsoft.Web.Configuration.dll. Is there a way to get the current IIS version with this dll or another?
1 2 3 4 5 6
7