473,796 Members | 2,464 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2216
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*******@hotm ail.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*******@hotm ail.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*******@hotm ail.com>
Newsgroups: microsoft.publi c.dotnet.framew ork.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********@new s.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.ph x.gbl!TK2MSFTNG XA01.phx.gbl!TK 2MSFTNGP08.phx. gbl!newsfeed00. s
ul.t-online.de!t-online.de!news-spur1.maxwell.s yr.edu!news.max well.syr.edu!f
eed.uncensored-news.com!ord-feed.news.verio .net!sea-feed.news.verio .net!news
..microsoft.com !not-for-mailXref: cpmsftngxa10.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:2302 62
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
1520
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 IIS then it works again 2) Sometimes the app.config file stops downloading. Again, If I restart IIS then it works again.
16
4215
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 doesn't use the changed values in the App.config, but continue to use the values that were there during start-up. Is there a way to let the application use the new values in the App.config? Is there kind of some 'refresh' function that I should...
3
2180
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 no-touch-deployment. Could anyone give me directions to documentation piece (or article) that explains how to implement app .config file reading in no-touch-deployment ? (just to clarif the issue, my app is not ASP.NET) I'd appreciate any help, thank you....
5
555
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 it is invoked by pressing "F5", or when the web.config file is modified. In all these cases the web.config file contains <identity impersonate="false" />. The mysterious problem arrises when I set <identity impersonate="true"/> in the...
1
1442
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 the root cause of ASP .NET restarting was. Thanks in advance. Scott
5
1808
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
1382
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 long as I change the IIS virtual root "Execute Permissions" to "Scripts and Executables". Under those circumstances however, when the application exits, I get the error: CGI Error The specified CGI application misbehaved by not returning a...
9
6478
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. Virtual directory is £ºhttp://localhost/main Sub-directory is : http://localhost/main/reminder
17
3254
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 production. I'm in the process of writing a site that will have lots of traffic so I'm trying to save resources everyplace that I can. My question is - do the web.config app settings get loaded once when the
0
9528
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10455
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10228
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10173
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10006
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.