touch root web.config, could we not restart the sub web application?

J

Jiong Feng

Hi,


I have a question. WE have a web application in web root. And also we have a
virtual directory library application.


If we change root web.config, the root application will restart. But, is
that possible not restart the virtual directory application?

I tried to use a different application pool for my library application, but
find it is still get restarted when touching root web.config.



Thanks

Jiong Feng
 
S

Scott Allen

I don't believe so. There are entries in the web.config which can only
be specified at the top most level and as such control all
applications in the subdirectories. ASP.NET will need to reload every
application underneath to ensure they all have the latest config
settings.
 
S

Steve C. Orr [MVP, MCSD]

You might try saving some values to a different XML file so the app won't
restart when it changes.
 
C

Chris Moore

When you touch the root web.config, all applications will need to restart
since this config file affects all apps on your server.

Chris

--------------------
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top