Groups | Blog | Home
all groups > asp.net > march 2007 >

asp.net : Same app in IIS twice?



David Thielen
3/10/2007 6:24:00 PM
Hi;

Not sure if this is an ASP or IIS question.

Can I point to the same ASP.NET app in IIS twice, once as a website (where
it is the default application) and once under the Default Web Site where it
is a named application? In both cases I would point to the same directory.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

Adlai Maschiach
3/10/2007 10:00:08 PM
Hi

if it's IIS6 , yes , I think so , but haven't test it
and don't forget to put them on different application pools

---------------------------------
If my answer helped you please press "Yes" bellow
---------
אם תשובה זו עזרה לך, אנא הצבע "כן"

Adlai Maschiach
http://blogs.microsoft.co.il/blogs/adlaim/


[quoted text, click to view]
Göran Andersson
3/11/2007 12:00:00 AM
[quoted text, click to view]

Yes, you can. I have set up a web site that has it's own domain, a
subdomain under another domain, and a virtual directory in another
subdomain to that domain.

--
Göran Andersson
_____
Mark Rae
3/11/2007 11:48:00 PM
"Adlai Maschiach" <AdlaiMaschiach@discussions.microsoft.com> wrote in
message news:D49CFB13-B606-4B79-9D03-E9EA45C5ACA5@microsoft.com...

[quoted text, click to view]

Why...?

Göran Andersson
3/12/2007 12:30:19 AM
Why do you think that they should use different application pools?

[quoted text, click to view]


--
Göran Andersson
_____
stcheng NO[at]SPAM online.microsoft.com
3/12/2007 9:21:09 AM
Hello Dave,

Theoretically, you can create two two IIS application(no matter root or
non-root) that point to the same physical folder. Basically, ASP.NET
runtime will only read page file or other components and copy assemblies or
other dyanmic resource to temporary location. However, if your application
has code logic that will do some modification in the application directory,
it will result to problem. Would you provide some further information of
your application scenario?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button