Can I select version of .NET compiler to run my ASP.NET web application?
I thought I can select version of compiler by config in Web.config when I
need to change between 1.0 or 1.1
But in ASP.NET 2.0, Can I choose?
I see the way to change only in IIS but in Web.config, I cannot see at this
moment.
Anybody find the way to set, pls let me know. 11 3240
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.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"meo" <j_******@hotma il.comwrote in message
news:ug******** *****@TK2MSFTNG P06.phx.gbl...
Can I select version of .NET compiler to run my ASP.NET web application?
I thought I can select version of compiler by config in Web.config when I
need to change between 1.0 or 1.1
But in ASP.NET 2.0, Can I choose?
I see the way to change only in IIS but in Web.config, I cannot see at
this moment.
Anybody find the way to set, pls let me know.
But in ASP.NET 1.0 and ASP.NET 1.1 can do, I can select version of framework
by setting in Web.config.
It's so pity if this feature has been removed when using ASP.NET 2.0.
In some situtation, we may require to select version of framework by myself
in the config, not IIS. i.e. publish the website to web hosting rental, If I
can select version of framework, that's good and no need to tell admin to
change.
"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in
message news:OH******** ******@TK2MSFTN GP04.phx.gbl...
>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.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"meo" <j_******@hotma il.comwrote in message
news:ug******** *****@TK2MSFTNG P06.phx.gbl...
>Can I select version of .NET compiler to run my ASP.NET web application?
I thought I can select version of compiler by config in Web.config when I need to change between 1.0 or 1.1
But in ASP.NET 2.0, Can I choose?
I see the way to change only in IIS but in Web.config, I cannot see at this moment.
Anybody find the way to set, pls let me know.
"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in
message news:OH******** ******@TK2MSFTN GP04.phx.gbl...
>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.
Isn't this what <supportedRunti me version="...... ." /is for...?
I don't think so, because as Eliyahu pointed out, it's all controlled by an
IIS setting.
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"Mark Rae" wrote:
"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in
message news:OH******** ******@TK2MSFTN GP04.phx.gbl...
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.
Isn't this what <supportedRunti me version="...... ." /is for...?
"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comwrote in
message news:5A******** *************** ***********@mic rosoft.com...
"Mark Rae" wrote:
>"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in message news:OH******** ******@TK2MSFTN GP04.phx.gbl...
>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.
Isn't this what <supportedRunti me version="...... ." /is for...?
>I don't think so, because as Eliyahu pointed out, it's all controlled by an
IIS setting.
OK, so does that configuration option apply only to WinForms apps...?
supportedRuntim e version only works for console/WinForms apps.
See : http://www.eggheadcafe.com/articles/20030412.asp
ASP.NET (web-based) applications use aspnet_regiis.e xe
to set the version of the .Net Framework they target.
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/
=============== =============== =====
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message news:u1******** ******@TK2MSFTN GP06.phx.gbl...
"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in message
news:OH******** ******@TK2MSFTN GP04.phx.gbl...
>>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.
Isn't this what <supportedRunti me version="...... ." /is for...?
Hope that in the next version, this feature can be done.
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:eD******** ******@TK2MSFTN GP05.phx.gbl...
supportedRuntim e version only works for console/WinForms apps.
See : http://www.eggheadcafe.com/articles/20030412.asp
ASP.NET (web-based) applications use aspnet_regiis.e xe
to set the version of the .Net Framework they target.
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/
=============== =============== =====
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:u1******** ******@TK2MSFTN GP06.phx.gbl...
>"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in message news:OH******** ******@TK2MSFTN GP04.phx.gbl...
>>>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.
Isn't this what <supportedRunti me version="...... ." /is for...?
re:
>it's all controlled by an IIS setting
....which is set with aspnet_regiis.e xe
The <supportedRunti me 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 <startupelement .
The application configuration file must have
the same name as the application, with a .config extension.
For an application named myExecutable.ex e,
the application configuration file must be named myExecutable.ex e.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]" <pb*******@yaho o.yabbadabbadoo .comwrote in message
news:5A******** *************** ***********@mic rosoft.com...
>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 <supportedRunti me version="...... ." /is for...?
>"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in message news:OH******** ******@TK2MSFTN GP04.phx.gbl...
>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.
re:
does that configuration option apply only to WinForms apps...?
Exactly, as pointed out in my two just-sent posts
( which hadn't arrived yet when I wrote this reply...).
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/
=============== =============== =====
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comwrote in message
news:5A******** *************** ***********@mic rosoft.com...
>"Mark Rae" wrote:
>>"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in message news:OH******** ******@TK2MSFTN GP04.phx.gbl...
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.
Isn't this what <supportedRunti me version="...... ." /is for...?
>>I don't think so, because as Eliyahu pointed out, it's all controlled by an IIS setting.
OK, so does that configuration option apply only to WinForms apps...? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nayt Grochowski |
last post by:
I have a common Class Library that I use on a QA server which has 10+ sites
that all use this library... I got everything working with the current
version installed in the GAC and since some aspx pages reference this via
the @REGISTER page directive I added the assembly in the machine.config so I
didn't have to deal with it in all of the individual web.config files: <add
assembly="Core.ClassLibrary, Version=1.4.4.5, etc..." />
Now - when...
|
by: Invalidlastname |
last post by:
Hi,
We developed some assemblies which use EnterpriseServices queued components.
In order to use EnterpriseServices, these assemblies need to be installed
into GAC. I used the pre-build and post-build events to automate GAC
installation processes and the asp.net application has "copy to local" set
to false for the references of these shared assemblies.
However, every time we made the changes to the shared assemblies, we had to
restart...
|
by: Tim Reynolds |
last post by:
Team,
I am developing a web service. In testing in on my enw PC, I am expecting to
see exceptions thrown appear on my browser. Instead I am getting an HTTP 500
Internal Server Error page and I am not seeing my exception details. The
web.config file being used has the setting <customErrors mode="Off"/>. This
should allow me to see the detailed exception info. On a different computer
- same code - same web config - the exception details...
|
by: Jobs |
last post by:
Download the JAVA , .NET and SQL Server interview with answers
Download the JAVA , .NET and SQL Server interview sheet and rate
yourself. This will help you judge yourself are you really worth of
attending interviews. If you own a company best way to judge if the
candidate is worth of it.
http://www.questpond.com/InterviewRatingSheet.zip
|
by: shamirza |
last post by:
· When was .NET announced?
Bill Gates delivered a keynote at Forum 2000, held June 22, 2000,
outlining the .NET 'vision'. The July 2000 PDC had a number of sessions
on .NET technology, and delegates were given CDs containing a
pre-release version of the .NET framework/SDK and Visual Studio.NET.
· When was the first version of .NET released?
The final version of the 1.0 SDK and runtime was made publicly
available around 6pm PST on...
| |
by: shamirza |
last post by:
· What is view state and use of it?
The current property settings of an ASP.NET page and those of any
ASP.NET server controls contained within the page. ASP.NET can detect
when a form is requested for the first time versus when the form is
posted (sent to the server), which allows you to program accordingly.
· What are user controls and custom controls?
Custom controls:
A control authored by a user or a third-party software vendor that...
|
by: =?Utf-8?B?SGVybWF3aWg=?= |
last post by:
Hello,
Please anybody help me.
I have only a little experience with web development.
I created simple project using ASP NET 2.0 (VS 2005)
It works fine on local computer.
When I tried to run the application on the web, it give me an error about
net framework version information.
|
by: dancer |
last post by:
I have made a new post because when I try to respond to another, I get the
error, "Article Rejected -- Ill-formed message id"
This is in response to the advice of Juan Libre to install Net Framework
Service Pack 1 in order to use ASP.net 1.1 and the net Framework 1.1
------------------------------------------------------------------------------------------------
I found the following file, "svcpack.log" at C:\WINNT.
It contains many...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |