Config Block throws error when App Pool Recycles

G

Guest

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!
 
8

89fsg987g

Sounds like you might need to disable overlapping recycles(default mode) of
the app pool.
 
G

Guest

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
 

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

Top