allowDefinition=MachineToApplication

T

Tumurbaatar S.

If a section in Machine.config contains
"allowDefinition=MachineToApplication"
then it means that this section can be defined only in a root Web.config
(i.e. application's
config file). Other child Web.config's (config files located in sub-folders)
cannot redefine it.
Also, the root config file cannot avoid this restriction using different
variants of this section
with different <location> tags. Am I right?
My problem is that I used different <authenticate> for a sub-folder. The
sub-folder
does not have own Web.config, the root Web.config defines new <location>
and within it - a new <authenticate>. After installing my web app, the root
folder
automatically becomes Virtual folder of IIS, but the sub-folder remains
within it
as a normal sub-folder. Launching a sub-folder raises an error.
I've searched net and found 2 ways to solve this:

1.Convert the sub-folder to a standalone Virtual folder.
2. Modify Machine.config

The 1st way is easy, but ... many Virtual app-s.
And what about the 2nd method? Removing above restriction from the
Machine.config
may lead to some security problems?
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top