473,698 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.Net 1.1 and 2.0 Coexist?

JJ
Hi,

I am wondering can I run asp.net 1.1 web apps and asp.net 2.0 web apps on
the same box? If possible how does the web server realize what framework to
use when calling up a particular web app? Is there any settings that I have
to be aware of to make sure one doesn't step on the other?

Also is it possible on a dev box to have Sql server 2000 and Sql server 2005
running on the same box?

Thanks,

JJ
Nov 19 '05 #1
6 1520
re:
I am wondering can I run asp.net 1.1 web apps
and asp.net 2.0 web apps on the same box?
No problem at all.

Just make sure they are running isolated from each other.

1.1 and 2.0 apps must run in different processes.

If you're running IIS 6.0, create a new Application Pool for your 2.0 apps.
Use the IIS Manager, and scroll down to "Applicatio n Pools".

You can assign the App to the Application Pool you created in the
Virtual Directory tab of the website's properties in the IIS Manager.

You can create as many App Pools as you want, but be aware that
each Application Pool means at least another 30-40MB ram minimum.

If you're running IIS 5.0/5.1, run your 2.0 apps either in "High Isolation",
isolated from each other *and* 1.1 apps, or in "Medium Isolation",
with all 2.0 apps pooled in one process.

You can choose High (Isolated) or Medium (Pooled) from the
Application Protection drop-down list on the Home Directory
or Virtual Directory property sheet in the IIS Manager, in IIS 5.0/5.1.

re: If possible how does the web server realize what framework to
use when calling up a particular web app?
By assigning it to the proper .Net Framework version in the
ASP.NET tab in the website's "properties " in the IIS Manager.

re; Is there any settings that I have to be aware
of to make sure one doesn't step on the other?
What I explain in this post is all you need to do.

re: Also is it possible on a dev box to have Sql server 2000
and Sql server 2005 running on the same box?
I know that SQL Server 2000 and SQL Server Express 2005 can coexist.
I don't know whether SQL Server 2000 and SQL Server 2005 can coexist.

You might want to ask that question in the SQL Server newsgroups.

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/
=============== =============== ========
"JJ" <JJ@discussions .microsoft.com> wrote in message
news:66******** *************** ***********@mic rosoft.com... Hi,

I am wondering can I run asp.net 1.1 web apps and asp.net 2.0 web apps on
the same box? If possible how does the web server realize what framework to
use when calling up a particular web app? Is there any settings that I have
to be aware of to make sure one doesn't step on the other?

Also is it possible on a dev box to have Sql server 2000 and Sql server 2005
running on the same box?

Thanks,

JJ


Nov 19 '05 #2
Juan T. Llibre wrote:

If you're running IIS 5.0/5.1, run your 2.0 apps either in "High
Isolation", isolated from each other *and* 1.1 apps, or in "Medium
Isolation", with all 2.0 apps pooled in one process.

You can choose High (Isolated) or Medium (Pooled) from the
Application Protection drop-down list on the Home Directory
or Virtual Directory property sheet in the IIS Manager, in IIS
5.0/5.1.


Application protection won't have any effect in this scenario. That setting
is ignored unless you are serving classic ASP pages as well.

The only way that you can run ASP.NET in the inetinfo process is to turn off
the processModel via the machine.config.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003


Nov 19 '05 #3
re:
You can choose High (Isolated) or Medium (Pooled) from the
Application Protection drop-down list on the Home Directory
or Virtual Directory property sheet in the IIS Manager, in IIS
5.0/5.1.
Application protection won't have any effect in this scenario.
Are you saying that you can't run ASP.NET 1.1 and
ASP.NET 2.0 apps concurrently under IIS 5.0/5.1 ?

I figured that isolating the processes in 5.0/5.1 would work
the same way that isolating the processes in IIS 6.0 works.

I *know* that you can't run 1.1 and 2.0 apps in the same process in IIS 6.0.

How can you run 1.1 apps and 2.0 apps in different IIS 5.0/5.1
processes if they are not hosted by different dllhost(s) ?

( i.e., by isolating the 1.1 processes from the 2.0 processes. )

re: That setting is ignored unless you are serving classic ASP pages as well.
What would *that* have to do with it ?

An IIS application is an IIS application...i s an IIS application,
whether it's an ASP application or an ASP.NET application.

You can't run ASP and ASP.NET 1.1, *nor*
ASP.NET 2.0, applications in the same process.

That's why you have to isolate them to be able to run them concurrently.

Can you explain yourself further ?


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/
=============== =============== ========
"JIMCO Software" <co*******@jimc osoftware.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. Juan T. Llibre wrote:

If you're running IIS 5.0/5.1, run your 2.0 apps either in "High
Isolation", isolated from each other *and* 1.1 apps, or in "Medium
Isolation", with all 2.0 apps pooled in one process.

You can choose High (Isolated) or Medium (Pooled) from the
Application Protection drop-down list on the Home Directory
or Virtual Directory property sheet in the IIS Manager, in IIS
5.0/5.1.
Application protection won't have any effect in this scenario. That setting is ignored
unless you are serving classic ASP pages as well.

The only way that you can run ASP.NET in the inetinfo process is to turn off the
processModel via the machine.config.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

Nov 19 '05 #4
Juan T. Llibre wrote:

An IIS application is an IIS application...i s an IIS application,
whether it's an ASP application or an ASP.NET application.

You can't run ASP and ASP.NET 1.1, *nor*
ASP.NET 2.0, applications in the same process.

That's why you have to isolate them to be able to run them
concurrently.


You will automatically get one aspnet_wp process for the 1.x app and one for
the 2.0 app. The Application Protection setting is for legacy applications
that run in either a dllhost process or the inetinfo process. ASP.NET
applications have never been affected by that setting.

A classic ASP application is absolutely not the same as an ASP.NET
application. Classic ASP application either run in inetinfo (Low
protection), a shared dllhost process (Medium), or a separate dllhost
process (High). ASP.NET is isolated via the worker process. The
architecture is not the same at all.

If you don't believe me, give it a try! Run an app on IIS 5 under ASP.NET
1.x and another app under 2.0. Check the aspnet_wp process in the process
list. Then change the Application Protection settings for each and see if
there's any difference. There won't be.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003


Nov 19 '05 #5
I'll be a horse's *ss.

I wasn't about to wipe a partition and install W2K/IIS 5,
so I did the next best thing in a second dev box I have :

I ran IIS 6 in IIS 5 isolation mode and, you're right, changing the isolation
mode doesn't affect the concurrent running of 1.1 apps and 2.0 apps,
which is diametrically opposed to what the behavior of IIS 6 is, in which
if you don't isolate 1.1 and 2.0 apps in different Application Pools,
the response will be the error message "The Application is Unavailable".

Thanks for pointing this out to me.
( I need more more boxes to run older OS's... )

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/
=============== =============== ========
"JIMCO Software" <co*******@jimc osoftware.com> wrote in message
news:u6******** ******@TK2MSFTN GP12.phx.gbl...
Juan T. Llibre wrote:

An IIS application is an IIS application...i s an IIS application,
whether it's an ASP application or an ASP.NET application.

You can't run ASP and ASP.NET 1.1, *nor*
ASP.NET 2.0, applications in the same process.

That's why you have to isolate them to be able to run them
concurrently.
You will automatically get one aspnet_wp process for the 1.x app and one for the 2.0
app. The Application Protection setting is for legacy applications that run in either a
dllhost process or the inetinfo process. ASP.NET applications have never been affected
by that setting.

A classic ASP application is absolutely not the same as an ASP.NET application. Classic
ASP application either run in inetinfo (Low protection), a shared dllhost process
(Medium), or a separate dllhost process (High). ASP.NET is isolated via the worker
process. The architecture is not the same at all.

If you don't believe me, give it a try! Run an app on IIS 5 under ASP.NET 1.x and
another app under 2.0. Check the aspnet_wp process in the process list. Then change
the Application Protection settings for each and see if there's any difference. There
won't be.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

Nov 19 '05 #6
Juan T. Llibre wrote:
I'll be a horse's *ss.

I wasn't about to wipe a partition and install W2K/IIS 5,
so I did the next best thing in a second dev box I have :

I ran IIS 6 in IIS 5 isolation mode and, you're right, changing the
isolation mode doesn't affect the concurrent running of 1.1 apps and
2.0 apps, which is diametrically opposed to what the behavior of IIS 6 is,
in
which if you don't isolate 1.1 and 2.0 apps in different Application
Pools,
the response will be the error message "The Application is
Unavailable".
Thanks for pointing this out to me.
( I need more more boxes to run older OS's... )


No problem. Yeah, in IIS 6, you have to keep your app pools all 1.x or all
2.0. Mixing isn't allowed. Make sense since each application pool is akin
to a separate w3wp process.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003


Nov 19 '05 #7

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

Similar topics

0
1701
by: David L | last post by:
I am an enduser of Java applications and applets and I need to have MS Jview in my setup because it is a company PC. On the other hand, I have come across software that I want to use, that specificially named the Sun Java as a requirement. Are there safe and workable ways to accomodate both Java VMs, since I understand there are applications / applets that take advantage of MS specific Java features? Thanks in advance for help...
3
3653
by: Mart Rogers | last post by:
We have a situation where we have decided (in an attempt to keep things simple) to stick to local assemblies rather than global ones. However we now have the following situation looming AssyA depends on AssyB depends on AssyD version 1 AssyA depends on AssyC depends on AssyD version 2 Obviously we cannot copy both versions of AssyD to the AssyA's bin directory. Is the only sensible way around this (rather than going the GAC route)...
1
1800
by: M VanTine | last post by:
Hi, I currently have VS6 on my machine (Win2000 Advanced Server). Can I install VS.net 2003 on the same machine and keep both? I am a developer and need both. Please advise what I need to do so that I don't step on dll's, etc. thanks in advance
4
1923
by: John Baker | last post by:
I was installing the 30-day trial version of Delphi 7, and I got a message that it wanted to change a registry key concerning Just-In-Time Debugging that currently indicates Visual Studio. Can these two products be used on the same machine at the same time? I am using VStudio for a project but I need to learn Delphi. On a related note, does anyone know if the trial starts from the date of the installation or is it set in the...
9
3661
by: Greg Gursky | last post by:
Hello: I'm doing some planning on a potential project with which I need some help. The database at the focus of this question is a MS Access database that is currently accessed by DAO from a local webserver. I need to access the same database remotely through TCP/IP. There will be potentially many transactions coming from both the web server and remotely, so the solution needs to keep the data safe in such an environment. However,...
2
1459
by: George Dainis | last post by:
Is it possible to install DotNet Framework 1.1 and the newest 2.0 beta 1 together on the same system? Depending on which Framework I would like to use for the next command line compilation I would prepend the valid environment directory (e.g. C:\WINNT\Microsoft.NET\Framework\v1.1.4322;) to the current PATH environment variable. Is this feasible? George
1
1881
by: whon | last post by:
Hi all, I am doing a little e-catalog thing that will show thumbnail of pictures on the screen, when users click on the thunbnail or drag the thumbnail to a bigger picturebox(let's give it the name BigPictureBox). The image would show on the larger picturebox. I am able to do this 2 functions seperately, but they cannot coexist. In another words, when I add the (Pesuodo code) Sub SmallPictureBox_MouseDown
1
1031
by: Danny Ni | last post by:
Hi, Is there anyway for a VS 2005 ASP.Net web application and a VS 2003 ASP.Net Web application and Classic ASP coexist in a web sever? If yes, please provide some info on how to make this happen. TIA
11
1259
by: Michael A. Covington | last post by:
Can VS 2005 and 2008 coexist on the same computer, with some projects continuing to be worked on in each?
0
8683
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, 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...
0
9170
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, 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...
0
7739
agi2029
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...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
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();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
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...

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.