re:
>it's all controlled by an IIS setting
....which is set with aspnet_regiis.exe
The <supportedRuntime version="......." /> setting
is ignored by ASP.NET applications.
It's only valid in console and WinForms applications,
and must be placed in the application configuration file's <startup> element.
The application configuration file must have
the same name as the application, with a .config extension.
For an application named myExecutable.exe,
the application configuration file must be named myExecutable.exe.config.
http://msdn.microsoft.com/library/de...orkversion.asp
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en espaņol :
http://asp.net.do/foros/
===================================
"Peter Bromberg [C# MVP]" <> wrote in message
news:5AEFA2AA-B6FA-4800-881F-...
>I don't think so, because as Eliyahu pointed out, it's all controlled by an
> IIS setting.
> "Mark Rae" wrote:
>> Isn't this what <supportedRuntime version="......." /> is for...?
>> "Eliyahu Goldin" <> wrote in
>> message news:...
>>
>> >I don't think it can be done outside of IIS. Web.config is processed by
>> >asp.net, not by IIS. But IIS needs to know what asp.net to invoke to
>> >process the request. Therefore the decision on the asp.net version has to
>> >be made before looking at web.config.