I have been able to get the Site ID from a supplied name. From this I can set the ASP.NET version using aspnet_regiis.
I'm also able to grab the ServerBindings property information for the site based on that ID, but I have no idea at this point how to resolve the edit I need to make in my .xml file.
User Profile
Collapse
-
Get/Set IIS Information Programmatically?
We have a web application that will be installed as a virtual directory. It will either default to the Default Web Site or allow the choice of the site to which the vir. dir. will be installed, if more than one sites exist on the server.
Now, what I would like to do is set the ASP.NET version to 2.0 if it defaults to an earlier version (more than one instance of the Framework is installed). I would like to be able to do this programmaticall y...
No activity results to display
Show More
Leave a comment: