473,811 Members | 2,540 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Config Block throws error when App Pool Recycles

I am attempting to research an error condition that I am experiencing with
the Config Block in EntLib 1.0. I have an admin web page that I use to
populate some config values. I then have a second web pages that pulls those
values in order to perform some stuff. Works like a charm with and without
encryption.

BUT... everytime the app pool is recycled in IIS 6, the app block throws an
error when attempting to read the config values. The error is "The section
name 'XXXX' could not be found in the Xml file M:\*\XXXXconfig .xml" (I've
XX'd out the information that is implementation specific). Re-populating the
values using the admin web page resolves the error... until the app pool is
recycled again.

Has anyone seen this before? Any pointers on how I may eliminate this error?

Thanks!
Jul 21 '05 #1
2 1591
Sounds like you might need to disable overlapping recycles(defaul t mode) of
the app pool.
Jul 21 '05 #2
Thanks for the tip. Unfortunately, that IIS config option doesn't seem to
have any effect on this error condition.

I think the app pool recycing is a symptom.. not the root cause. After all,
the config block should be able to read an existing, properly formatted,
unencrypted XML file... even if the server was rebooted.

~Troglite

"89*******@dskj fkdsfj.com" wrote:
Sounds like you might need to disable overlapping recycles(defaul t mode) of
the app pool.

Jul 21 '05 #3

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

Similar topics

1
1289
by: Mr 071 | last post by:
When an unhandled exception occurrs in my ASP.NET application the app pool recycles. It seems to me that this just started happening after some patches have been applied to Windows Server 2003 we are running the app on. This is how I try to handle this, but the code does not work, i.e. the error gets logged and the error page displayed but still the app recycles. Any ideas? Thanks. // inside Global.asax.cs protected void...
1
3138
by: Atara | last post by:
My application starts with: Module mmcMain Public Sub Main() Debug.WriteLine("Main begin") Dim splashForm As New mcDlgs.cmcDlgSplash2 splashForm.Show() ....
2
5108
by: news.microsoft.com | last post by:
Hi After conducting a several searches, I wasn't sure where to post this question. So my apologiesbefore hand for double posting this and possibly posting to the wrong forum(s). Okay, I have any application that uses the data access application building block from Microsoft's Enterprise Library (patterns and practices site). I want to allow the users to select the database connection. To do this, I thought I could read the...
2
260
by: Troglite | last post by:
I am attempting to research an error condition that I am experiencing with the Config Block in EntLib 1.0. I have an admin web page that I use to populate some config values. I then have a second web pages that pulls those values in order to perform some stuff. Works like a charm with and without encryption. BUT... everytime the app pool is recycled in IIS 6, the app block throws an error when attempting to read the config values. The...
0
5466
by: Mark A. Ziesemer | last post by:
I've seen a few other postings that looked similar to this, but most appear to have died without any working solutions, and lacked any helpful level of information to see if they might be related. I'm thinking this is an ASP.Net 2.0 bug, but would like to try to elaborate it further. I'm hoping to see if someone else may be having the same issue. Error: (Popup on the desktop) Title: "w3wp.exe - Application Error"
1
1085
by: Rahul | last post by:
Hi, I am using Microsoft Enterprise Logging Application block. I am using a flat file listener to log the exceptions. Now the problem I am having is that the log file is becoming too big. What are the options that I have to handle this problem. 1) I could run a scheduler to periodically archive the log file, but when IIS is running I am unable to do that as it gives an exception that the file is being used by another program.
10
7602
by: =?Utf-8?B?U3RlZmFuIEJhcmxvdw==?= | last post by:
This has been working perfectly for months. Since we switched from ASP.NET 1.1 to 2.0, we have constant and sporadic issues with updating our applications. Touching the web.config works about 40% of the time to cause an AppDomain to reload and flush all assemblies. Sometimes it works perfectly, but other times some Assemblies are not reloaded into the AppDomain, even after multiple web.config file touches. Sometimes multiple versions...
3
4771
by: Bill E. | last post by:
In IIS, I have two web applications configured as follows: Website 1 (fixed IP) Application A page1.aspx web.config Application B page1.aspx web.config
1
1165
by: karlid | last post by:
hi, For some reason one of my sites is throwing an ugly error message when I deploy it to a remote server. The error looks like this: "Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. "
0
9605
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
10651
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
10392
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
10403
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
10136
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
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5693
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4341
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
3868
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.