473,395 Members | 1,653 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

.NET framework 1.1 and 2.0 in one machine - How to make the web pages work for these versions ???

Hi all,

I have .NET framework 1.1 and 2.0 installed in the same server. I had some
web pages developed in Visual Studio.NET 2003 and some inline code web pages
before (framework 1.1) . Now I start some web pages from Visual Studio.NET
2005 (framework 2.0). Can I set some virtual directories work for 1.1 and
some for 2.0 ? If so, please give me a hint. I don't want to convert the
old pages from 1.1 into 2.0.

Please advise. Thank you.
Oct 18 '06 #1
4 1688
re:
Can I set some virtual directories work for 1.1 and some for 2.0 ?
Sure you can.

Use the IIS Manager to set the .Net Framework version you want each application to target.

After you open the IIS Manager, right-click the application you want to
set it's default .Net Framework version to, and select "Properties";
then, select the ASP.NET tab.

Your'll see a dropdown which will let you select the .Net Framework version the app will 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/
===================================
"bienwell" <bi******@hotmail.comwrote in message news:OT**************@TK2MSFTNGP05.phx.gbl...
Hi all,

I have .NET framework 1.1 and 2.0 installed in the same server. I had some web pages developed in
Visual Studio.NET 2003 and some inline code web pages before (framework 1.1) . Now I start some
web pages from Visual Studio.NET 2005 (framework 2.0). Can I set some virtual directories work
for 1.1 and some for 2.0 ? If so, please give me a hint. I don't want to convert the old pages
from 1.1 into 2.0.

Please advise. Thank you.

Oct 18 '06 #2
hello bienwell,
look at ASP.NET tag, on IIS, for each WebSite or Virtual Directory
hope it'll help

"bienwell" wrote:
Hi all,

I have .NET framework 1.1 and 2.0 installed in the same server. I had some
web pages developed in Visual Studio.NET 2003 and some inline code web pages
before (framework 1.1) . Now I start some web pages from Visual Studio.NET
2005 (framework 2.0). Can I set some virtual directories work for 1.1 and
some for 2.0 ? If so, please give me a hint. I don't want to convert the
old pages from 1.1 into 2.0.

Please advise. Thank you.
Oct 19 '06 #3
Hi,

I've followed your instructions. When the pages in virtual directories 2.0
runs OK, the pages in directories 1.1 get this error :

"Server Application Unavailable" The web application you are attempting to
access on this web server is currently unavailable. Please hit the "Refresh"
button in your web browser to retry your request"

I did hit "Refresh" button and still received that error message.

Any ideas ? Thanks.

================================================== ==========
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:Of**************@TK2MSFTNGP04.phx.gbl...
re:
>Can I set some virtual directories work for 1.1 and some for 2.0 ?

Sure you can.

Use the IIS Manager to set the .Net Framework version you want each
application to target.

After you open the IIS Manager, right-click the application you want to
set it's default .Net Framework version to, and select "Properties";
then, select the ASP.NET tab.

Your'll see a dropdown which will let you select the .Net Framework
version the app will 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/
===================================
"bienwell" <bi******@hotmail.comwrote in message
news:OT**************@TK2MSFTNGP05.phx.gbl...
>Hi all,

I have .NET framework 1.1 and 2.0 installed in the same server. I had
some web pages developed in Visual Studio.NET 2003 and some inline code
web pages before (framework 1.1) . Now I start some web pages from
Visual Studio.NET 2005 (framework 2.0). Can I set some virtual
directories work for 1.1 and some for 2.0 ? If so, please give me a
hint. I don't want to convert the old pages from 1.1 into 2.0.

Please advise. Thank you.


Oct 19 '06 #4
re:
the pages in directories 1.1 get this error : "Server Application Unavailable"
You're running Windows Server 2003, so you must separate 1.1 apps
from 2.0 apps by placing them in different Application Pools.

Create a new Application Pool ( use the IIS Manager, expand your server's properties
in the left-hand pane, and highlight "Application Pools", then right-click "Application Pools"
and select "New", "Application Pool". Name it something like "1.1 Apps"

After the new App Pool has been created, go back to each 1.1 app on the right hand pane
and, right-clicking it's name, select "Properties", and select the "1.1 Apps" App Pool for them.

Make sure all your 1.1 Apps are configured to use the "1.1 Apps" App Pool.

After you've done that, and after you've made sure that all 2.0 apps
are running in the Default Applicatin Pool, open "Run", write in "iisreset"
( without the quotes ), and restart IIS services.

Once you do that, everything will work fine.


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/
===================================
"bienwell" <bi******@hotmail.comwrote in message news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi,

I've followed your instructions. When the pages in virtual directories 2.0 runs OK, the pages in
directories 1.1 get this error :

"Server Application Unavailable" The web application you are attempting to access on this web
server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your
request"

I did hit "Refresh" button and still received that error message.

Any ideas ? Thanks.

================================================== ==========
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:Of**************@TK2MSFTNGP04.phx.gbl...
>re:
>>Can I set some virtual directories work for 1.1 and some for 2.0 ?

Sure you can.

Use the IIS Manager to set the .Net Framework version you want each application to target.

After you open the IIS Manager, right-click the application you want to
set it's default .Net Framework version to, and select "Properties";
then, select the ASP.NET tab.

Your'll see a dropdown which will let you select the .Net Framework version the app will 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/
===================================
"bienwell" <bi******@hotmail.comwrote in message news:OT**************@TK2MSFTNGP05.phx.gbl...
>>Hi all,

I have .NET framework 1.1 and 2.0 installed in the same server. I had some web pages developed
in Visual Studio.NET 2003 and some inline code web pages before (framework 1.1) . Now I start
some web pages from Visual Studio.NET 2005 (framework 2.0). Can I set some virtual directories
work for 1.1 and some for 2.0 ? If so, please give me a hint. I don't want to convert the old
pages from 1.1 into 2.0.

Please advise. Thank you.



Oct 19 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Aaron | last post by:
Should I install .NET framework 2.0 on my production web server, I need to use some of its new features? It seeems stable enough to run in a production environment. When the final version is...
2
by: Tomas Vera | last post by:
Hello All, I'm running into a problem that I don't know how to solve (properly, at least). Our web servers are running Win2K and have Framework v1.0.3705 running on them. We have a DLL...
4
by: RM | last post by:
Had VS .Net 2002 installed on W2k Server SP3 and supported a number of web sites. Installed VS .Net 2003 on Friday and now all web sites using .Net & MS ACCESS get this strange error upon open. ...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
3
by: Shadow Lynx | last post by:
At the bottom of the default Error page that appears when Unhandled Exceptions occur, what exactly is the difference between the "Microsoft ..Net Framework Version" and the "ASP.NET Version"? I...
2
by: g | last post by:
we are evaluating CRM packages and are looking for information on the differences/simliarities, pros and cons of these architectures used by various CRM Vendors. We have been searching for more...
13
by: Steven Prasil | last post by:
Currently I have installed two (runtime) .NET frameworks on my WinXP system: v1.1 AND v2.0 Is this necessary or is v1.1 COMPLETELY included in v2.0 ?
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
17
by: Peter Anthony | last post by:
Can the 3.5 version of .NET Framework (currently Beta 2) be installed on pre-Vista machines? Or is it Vista-only? And, why doesn't .NET Framework come pre-installed with the operating system? I...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.