asp.net 1.1 application on 2.0

A

abcd

I have asp.net application which was tested and developed on asp.net 1.1.
WIll my application work on asp.net 2.0 also. Can I say asp.net 2.0 is
supported automatically for the applications which are written for asp.net
1.1

thanks
 
G

Guest

abcd,
Most (not all) ASP.NET 1.1 apps will run correctly under ASP.NET 2.0. The
easy way to find out is to simply change the script mappings for the IIS
application from 1.1 to 2.0 runtime. You can do this easily with
ASPNET_REGIIS.EXE, in IIS under Windows XP, or with a third party tool such
as Denis Bauer's Version Switcher.
Peter
 
J

Juan T. Llibre

re:
Will my application work on asp.net 2.0 also.

Yes, unless you're calling non-existent classes.

re:
Can I say asp.net 2.0 is supported automatically for the applications which are written for
asp.net 1.1

You can say that ASP.NET 2.0 supports 1.1 applications,
unless you are calling non-existent classes.

In general, though, you should have side-by-side installs of ASP.NET 1.1 and ASP.NET 2.0,
and run your applications with a specific .Net Framework for a target.

Unless you want/need to have a 2.0-only machine, that is the best configuration.



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
A

abcd

Thanks.

When I install 2.0 does that install 1.1 also? I have a machine which has
both 1.1 and 2.0, how do I test my applicaition so that it will use only
2.0. I want to test this.

thanks
 
J

Juan T. Llibre

re:
When I install 2.0 does that install 1.1 also?

No. They are separate installs.

The .Net Framework 1.1 is available here :
http://www.microsoft.com/downloads/...E3-F589-4842-8157-034D1E7CF3A3&displaylang=en

Note : you should also install the .Net Framework SP1:
http://www.microsoft.com/downloads/...4F-088E-40B2-BBDB-A83353618B38&displaylang=en

and,. also, install the Security update for 1.1 :
http://www.microsoft.com/downloads/...8A-29EB-49CF-9DBC-1A0DC2273FF9&displaylang=en

The .Net Framework 2.0 is available here :
http://www.microsoft.com/downloads/...CB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en

re:
how do I test my applicaition so that it will use only 2.0. I want to test this.

Open the IIS Manager, select the application you want to configure,
and make sure that in its properties, in the ASP.NET tab,
the .Net Framework version you want to target is selected.

I assume you want to target the .Net Framework 2.0.

In that case, the ASP.NET tab for your application's properties,
should have 2.0.50727 as the "ASP.NET Version".




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
A

abcd

Juan. Thanks for the detailed post. Its really helpful.

earlier I was doing wrong. I have W2K3 machine and on which ASP.NET 1.1 and
ASP.NET 2.0 both are installed, I was just enabling and disabling the web
service extension for 1.1 and 2.0 each at a time. When I disable 1.1 and
enable 2.0 my applicaiton didnt work.

But as you said when I open IIS maanger and on my applicaiton's ASP.NET tab
I set ASP.NET version to 2.0 and Web server extension for 1.1 and 2.0 are
set to "Allow" and now my applicaiton works. Does this mean that its using
now asp.net 2.0

Thanks in advance.
 
J

Juan T. Llibre

re:
you should put all the 1.1 apps in a single IIS Application pool,
and all the 2.0 apps in a different Application Pool.

Yes.

For W2K3, that is a must...at the very least.

Of course, if you have a very critical application, you could place it in an Application Pool
all of its own, and eliminate the chance of your critical application crashing because
another application in the same App Pool crashed the process.

That would be good whether it's a 1.1 app or a 2.0 app,
if you're running W2K3 ( running IIS 6.0 ).

re:
Yes, it does.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top