Monday, March 26, 2012

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
2.0?
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.
Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"Mufasa" wrote:

> 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 th
an
> what I have in the 'main' site or do I have to convert them both to .Net
> 2.0?
> TIA - Jeff.
>
>
Convert them both.
You cannot have the same application point to 1.1 and 2.0.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Mufasa" <jb@.nowhere.com> wrote in message news:OcKP6UCgHHA.1008@.TK2MSFTNGP05.phx.gbl...[co
lor=darkred]
>I have a website written in .Net 1.1. As part of it it has a virtual direct
ory 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 ve
rsion of .Net than what
>I have in the 'main' site or do I have to convert them both to .Net 2.0?
> TIA - Jeff.
>[/color]
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.
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:ucOHLdEgHHA.1552@.TK2MSFTNGP06.phx.gbl...
> Convert them both.
> You cannot have the same application point to 1.1 and 2.0.
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Mufasa" <jb@.nowhere.com> wrote in message
> news:OcKP6UCgHHA.1008@.TK2MSFTNGP05.phx.gbl...
>
You aren't using either application fully, then.
We went over this some time ago. See this discussion :
a5" target="_blank">http://groups.google.com/group/micr...8f36c
a5
Web.config settings aren't inherited from 1.1 to 2.0, and they aren't inheri
ted 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 espaol : http://asp.net.do/foros/
===================================
"Mufasa" <jb@.nowhere.com> wrote in message news:%23vcf87cgHHA.1220@.TK2MSFTNGP03.phx.gbl...[
color=darkred]
> John,
> I hate to disagree but I have it working now. I have a 1.1 site with a vir
tual directory to a 2.0
> site and it works fine.
> Thanks anyway.
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:ucOHLdEgHHA.1552@.TK2MSFTNGP06.phx.gbl...
>[/color]
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:u8tK%23wfgHHA.588@.TK2MSFTNGP06.phx.gbl...

> That causes conflicts with settings you don't want to be inherited.
Yes indeed - this is a disaster waiting to happen...

0 comments:

Post a Comment