473,407 Members | 2,598 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,407 software developers and data experts.

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 1504
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 "Application 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**********************************@microsof t.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...is 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*******@jimcosoftware.com> wrote in message
news:%2****************@TK2MSFTNGP14.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...is 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*******@jimcosoftware.com> wrote in message
news:u6**************@TK2MSFTNGP12.phx.gbl...
Juan T. Llibre wrote:

An IIS application is an IIS application...is 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
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...
3
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 ...
1
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...
4
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...
9
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...
2
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...
1
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...
1
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...
11
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
0
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...

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.