|
Home > Archive > IIS Server Security > August 2005 > add asp.net version for virtual directory in iis
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
add asp.net version for virtual directory in iis
|
|
| sathya 2005-08-26, 7:55 am |
| hi,
i have a problem in adding asp.net version in iis , as default my iis
sets up asp.net version 1.1.4322 , but i need to set to 2.0.40607 .
Manually i can do this operation set up by going to iis - properties -
asp.net - asp.net version set to 2.0 version.
But i ned a programatic solution in c# using directoryentry class.
please help me how i can proceed in this direction.
thanks & regards
sathya narayanan v
| |
| Chris Crowe [MVP] 2005-08-27, 2:50 am |
| If you look at the documentation for ASP.NET IIS Registration Tool
(Aspnet_regiis.exe) you will see what it does. You are wanting to modify the
ScriptMaps as this defines the ISAPI extensions that will process specific
file types.
For an example in vbscript see
http://iisfaq.com/Default.aspx?tabid=2792
Documentation on Script Maps
http://msdn.microsoft.com/library/d...c495acc6d2c.asp
ASP.NET IIS Registration Tool (Aspnet_regiis.exe)
http://msdn.microsoft.com/library/d...r />
iisexe.asp
I could not find any code already written to modify script maps in c#
--
Cheers
Chris
Chris Crowe [IIS MVP]
http://blog.crowe.co.nz
"sathya" <sathyanarayananit@gmail.com> wrote in message
news:1125048977.145909.316880@z14g2000cwz.googlegroups.com...
> hi,
>
> i have a problem in adding asp.net version in iis , as default my iis
> sets up asp.net version 1.1.4322 , but i need to set to 2.0.40607 .
> Manually i can do this operation set up by going to iis - properties -
> asp.net - asp.net version set to 2.0 version.
>
> But i ned a programatic solution in c# using directoryentry class.
> please help me how i can proceed in this direction.
>
> thanks & regards
> sathya narayanan v
>
|
|
|
|
|