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

M

Mufasa

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
2.0?

TIA - Jeff.
 
G

Guest

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.
Peter
 
J

Juan T. Llibre

Convert them both.

You cannot have the same application point to 1.1 and 2.0.
 
M

Mufasa

John,
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.
 
J

Juan T. Llibre

You aren't using either application fully, then.

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

http://groups.google.com/group/micr...36ca5?lnk=st&q=&rnum=1&hl=en#f88ec60e18f36ca5

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.
 

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

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top