Mixing .Net v1.1 and 2.0 on the same website.



I have a website written in .Net 1.1. As part of it it has a virtual
directory that points so some web services. Currently the web services are
written in .Net 1.1 I want to convert the web services to 2.0. Can I do
this - have a virtual directory pointing to a different version of .Net than
what I have in the 'main' site or do I have to convert them both to .Net

TIA - Jeff.


If the 1.1 Virtual Directory is an IIS Application, and it is in a separate
application pool in IIS, I believe it will work. Otherwise, your 1.1 app
should normally run fine under ASP.NET 2.0 with no modifications.


I hate to disagree but I have it working now. I have a 1.1 site with a
virtual directory to a 2.0 site and it works fine.

Thanks anyway.

Juan T. Llibre

You aren't using either application fully, then.

We went over this some time ago. See this discussion :


Web.config settings aren't inherited from 1.1 to 2.0, and they aren't inherited from 2.0 to 1.1.

Web.config settings *will* inherit from the root,
no matter whether the root is a 1.1 roort or a 2.0 root.

That causes conflicts with settings you don't want to be inherited.

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/

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