disabling web.config inheritance

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hey everyone,

I have a config file issue. I have a website with a front in and a
back end. (eg. http://www.site.com/ and http://www.site.com/admin).
They are both written in .NET 2.0 using C#.

I am having conflicts on the web.config settings. my exact message
right now is:

"This application was precompiled with personalization turned off, but
it appears to have been turned on after the precompilation, which is
not supported. "

I am assuming that is occuring because, the root application doesn't
have any themes set up, while the admin site does. I am also have some
conflicts between connection strings, profile and membership providers,
because each site has a different one.

If I publish the two sites to different (eg. http://www.site.com/root
and http://www.site.com/admin) everything works, except the images
don't work because they are looking for ../product_images.

Question:

- is there a way to globally disable inheritance on themes/profiles
and membership settings? or force it to use the admin config over the
root?
- if not, is there a way to set the root site to theme="" and override
that in the admin?

- Ben Dewey

.



Relevant Pages

  • Re: /etc/mailname and cron
    ... checked and cron depends on postfix or mail-transport-agent. ... these files may give you a clue about what is happening to mail to root. ... and the config file may be somewhat different than ... Much thanks to you Tony and to derek also. ...
    (Ubuntu)
  • File access issues on Win2k8
    ... I am developing several server based applications that utilize the ... Visual Studio (logged in as myself - admin permissions), ... it cannot read the config file for its information. ... I had no issues like this on Win2k3. ...
    (microsoft.public.windows.server.security)
  • Re: DNS caching
    ... > chroot security, and mentions putting the dump file elsewhere. ... > For the config file, ... The data directory is owned by root and root and named can rwx it. ...
    (comp.os.linux.misc)
  • Re: Multi-user 3D acceleration
    ... Foxy wrote: ... > All the users are in the video group and 3d works for them fine unless two ... Try running 2 sessions as root to see if they both ... I just found some 3D switches in my .config file I was unaware of. ...
    (alt.os.linux.suse)
  • Re: Why not XML based configurationfiles?
    ... config file, they lose use of that APP. ... If an admin screws up ... If an admin screws up a GLOBAL config file for all apps ...
    (comp.os.linux.misc)