Same app in IIS twice?

G

Guest

David said:
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.

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

Guest

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
 
S

Steven Cheng[MSFT]

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.
 

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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top