Microsoft Content Management Server - ASP.NET 1.1 and 2.0 in one website

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2006 > ASP.NET 1.1 and 2.0 in one website





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ASP.NET 1.1 and 2.0 in one website
André van 't Hoog

2006-01-30, 8:41 am

MCMS 2002 SP2 on Windows 2003 SP1

Situation: One website using SSL containing 2 virtual directories serving 2
MCMS web applications. One MCMS web application (i.e. one virtual directory)
is using ASP.NET 1.1; the other is using ASP.NET 2.0.

Problem: When we try to go to edit-mode in the ASP.NET 2.0 web application
we get the error "HTTP Error 403 - Forbidden: Access is denied.". Going to
edit-mode in the ASP.NET 1.1 web application works fine. Viewing both web
applications works fine as well.

Additional remarks: We have installed this website on 2 windows 2003 servers
and we experience this problem on both servers. However, this website runs
fine on two (windows xp) development pc.

Questions: Has anyone been able to run 2 MCMS web applications on windows
2003 using different ASP.NET versions within one ssl website? Is this a
supported configuration? Does anyone know what might be causing this
problem?

Thanks and regards,

André


Stefan [MSFT]

2006-01-31, 7:59 am

Hi André,

this scenario does not work.
The reason for this is that it is impossible to run two different ASP.NET
versions in the same application pool.
The MCMS ISAPI filter needs to inspect every request and then rewrites the
URL. If the URL changes in a way that the new URL points to a different
Application Pool than the ISAPI filter is running in IIS you will receive a
403.18 error as IIS is not able to pass the request to a different process.

This is a limitation of the current version of IIS.
So you can't use different ASP.NET versions with MCMS in the same website.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"André van 't Hoog" <vanthoog@evident.nl.ihatespam> wrote in message
news:eOf9f4XJGHA.3100@tk2msftngp13.phx.gbl...
> MCMS 2002 SP2 on Windows 2003 SP1
>
> Situation: One website using SSL containing 2 virtual directories serving
> 2
> MCMS web applications. One MCMS web application (i.e. one virtual
> directory)
> is using ASP.NET 1.1; the other is using ASP.NET 2.0.
>
> Problem: When we try to go to edit-mode in the ASP.NET 2.0 web application
> we get the error "HTTP Error 403 - Forbidden: Access is denied.". Going to
> edit-mode in the ASP.NET 1.1 web application works fine. Viewing both web
> applications works fine as well.
>
> Additional remarks: We have installed this website on 2 windows 2003
> servers
> and we experience this problem on both servers. However, this website runs
> fine on two (windows xp) development pc.
>
> Questions: Has anyone been able to run 2 MCMS web applications on windows
> 2003 using different ASP.NET versions within one ssl website? Is this a
> supported configuration? Does anyone know what might be causing this
> problem?
>
> Thanks and regards,
>
> André
>
>



André van 't Hoog

2006-01-31, 7:59 am

Stefan, thank you very much for your answer.

We have been spending some time on analyzing this problem and have come to
the same conclusion. Basically to get it to work you need to run all virtual
directories within the same application pool, but if you do this you will
get the error "It is not possible to run two different versions of ASP.NET
in the same IIS process.".

Is seems it bit odd though that this is working fine on windows
XP...........

Anyway, I guess we have two possible solutions for this problem:
1) Set up 2 web sites; one for ASP.NET 1.1 and one for ASP.NET 2.0.
2) Convert all MCMS web applications to ASP.NET 2.0.

Regards,

André


Spencer Harbar [MVP]

2006-01-31, 7:59 am

Hello André van 't Hoog,

The reason this works on XP is because IIS runs in application isolation
mode - ie. there are no AppPools.

hth
Spence
www.mcmsfaq.com

> Stefan, thank you very much for your answer.
>
> We have been spending some time on analyzing this problem and have
> come to the same conclusion. Basically to get it to work you need to
> run all virtual directories within the same application pool, but if
> you do this you will get the error "It is not possible to run two
> different versions of ASP.NET in the same IIS process.".
>
> Is seems it bit odd though that this is working fine on windows
> XP...........
>
> Anyway, I guess we have two possible solutions for this problem:
> 1) Set up 2 web sites; one for ASP.NET 1.1 and one for ASP.NET 2.0.
> 2) Convert all MCMS web applications to ASP.NET 2.0.
> Regards,
>
> André
>



pj_servadmin

2006-03-01, 5:52 pm

Spencer,

Just to add - this should be the same theory why this should work in IIS 5.0
Win 2k.

pj_servadmin


"Spencer Harbar [MVP]" wrote:

> Hello André van 't Hoog,
>
> The reason this works on XP is because IIS runs in application isolation
> mode - ie. there are no AppPools.
>
> hth
> Spence
> www.mcmsfaq.com
>
>
>
>

Jeremy

2006-03-16, 8:48 pm

What about running 2 app pools with IIS 6 on 1.1 the other 2.0? We are also
getting a 403 error. Is this setup possible?

Thanks,
Jeremy

"pj_servadmin" wrote:
[vbcol=seagreen]
> Spencer,
>
> Just to add - this should be the same theory why this should work in IIS 5.0
> Win 2k.
>
> pj_servadmin
>
>
> "Spencer Harbar [MVP]" wrote:
>
Stefan [MSFT]

2006-03-16, 8:48 pm

Hi Jeremy,

running 2 app pools will only work with two different websites if MCMS is
involved as the ISAPI filter needs to be able to forward the request to the
web application.
An this does not work across app pool boundaries.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Jeremy" <Jeremy@discussions.microsoft.com> wrote in message
news:6A01AEC8-4B4B-4E3E-A4F2-BCB3A1D11503@microsoft.com...[vbcol=seagreen]
> What about running 2 app pools with IIS 6 on 1.1 the other 2.0? We are
> also
> getting a 403 error. Is this setup possible?
>
> Thanks,
> Jeremy
>
> "pj_servadmin" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com