473,387 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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
Nov 18 '05 #1
3 2195
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.

--
Scott
http://www.OdeToCode.com

On Fri, 30 Apr 2004 08:43:57 -0700, "Jiong Feng"
<fe*******@hotmail.com> wrote:
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


Nov 18 '05 #2
You might try saving some values to a different XML file so the app won't
restart when it changes.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Jiong Feng" <fe*******@hotmail.com> wrote in message
news:40********@news.microsoft.com...
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

Nov 18 '05 #3
When you touch the root web.config, all applications will need to restart
since this config file affects all apps on your server.

Chris

--------------------
From: "Jiong Feng" <fe*******@hotmail.com>
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: touch root web.config, could we not restart the sub web application?Date: Fri, 30 Apr 2004 08:43:57 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: fjiong2.redmond.corp.microsoft.com
X-Original-NNTP-Posting-Host: fjiong2.redmond.corp.microsoft.com
Message-ID: <40********@news.microsoft.com>
X-Trace: news.microsoft.com 1083339827 157.59.114.253 (30 Apr 2004 08:43:47 -0700)X-Original-Trace: 30 Apr 2004 08:43:47 -0700, fjiong2.redmond.corp.microsoft.comPath: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!f
eed.uncensored-news.com!ord-feed.news.verio.net!sea-feed.news.verio.net!news
..microsoft.com!not-for-mailXref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:230262
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi,
I have a question. WE have a web application in web root. And also we have avirtual 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


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steve | last post by:
I have almost got this no touch deployment of WinForms working Except... 1) Occasionally the launching of the application stops and I get the IE Message "The page cannot be found". If I restart...
16
by: DraguVaso | last post by:
Hi, I have a Windows Service running (made in VB.NET), and wanted to be able to change from time to time some parameters by changing them in the App.config. But it seems that the application...
3
by: Marek | last post by:
Hi there, my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in ...
5
by: AAguiar | last post by:
I have an asp.net project where the code behind the aspx page calls a c# class which makes calls to a managed static C++ class. The C# class works fine when the asp net worker process starts, when...
1
by: Scott Lezberg | last post by:
We have an web application and the ASP .NET service keeps restarting for no apparent reason. I understand the recyclying concept and I see the event logged but is there any way to determine what...
5
by: Daniel | last post by:
Hi, is the a way to prevent aspnet process to restart after web.config is modified? like, waiting for all sessions to close, or not restart at all ? Thank you, Daniel
3
by: Anil Kripalani | last post by:
I have a .NET Windows Forms application that I launch from a web browser. The user clicks an HTTP link from an ASP.NET page that launches a .NET exe (All .NET 1.1). The application runs fine so...
9
by: Benny Ng | last post by:
Hi,all, How to let the sub-directory to avoid the authentication control from Root's webconfig? I heard that we can add a new web.config to the sub-directory. And then we can slove the problem....
17
by: Fred Nelson | last post by:
Hi: I have written several web applications that obtain their connection strings from the web.config file. This is very easy to use and it makes it easy to move an app from development into...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.