Changing the ASP.NET Version programmatically in IIS

R

Roffers

Hi everyone.

I've got a class that programatically creates a WebSite in IIS, it
allows me to set almost all the parameters in the metabase, but it
doesn't seem to let me change the asp.net version or the application
pool which will need to be set as the subsequent sites will run in .NET
2. I'm using c#, IIS 6 etc.

e.g
SetSite.Invoke("Put", "ServerAutoStart", 1);

I've got these 2 links for the properties, but I can't see them on
there.

http://www.microsoft.com/windows200...indows2000/en/server/iis/htm/asp/aore8v5e.htm

http://www.microsoft.com/technet/pr...a3d-daa6-4f1f-9fd3-dda554b860b7.mspx?mfr=true

If anyone can tell me how to do this, you'd make my day.

Cheers
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top