the web.config file to move subdirectories from the root of the Website in error: It is an error to use a section registered as allowDefinition = 'MachineToApplication' beyond application level to find the article online ...
The web.config file from within the root directory moved to a subdirectory Website error: It is an error to use a section registered as allowDefinition = 'MachineToApplication' beyond application level
From the Internet to find the articles in English:
Translation
You may browse an ASP.NET Web page when it came to this error.
Error is: Compile information Tip: virtual directory in IIS can not be configured
However, this error occurs primarily in two situations.
1. When you use Visual Studio to create a web application, he will automatically create a virtual directory and configure it as an application.
But when you manually create the virtual directory is not automatically configured as an application, so you encounter this error and not visit the page. You will get the above error, this is a case.
To solve it is to right click virtual directory, select Properties, click the "Apply" sideways "Create"
2. When your application has a subdirectory, you can put subdirectory web.config, but some nodes are no longer set in the web.config, such as authentication, session state (you will error message to see the number of rows of these nodes) because this is the node set can not replace all the child nodes within the web application settings, unless the sub is also configured as an application.
Many times we have to deal with the application subdirectories in the subdirectory web.config to add the experience of a default, we can root of the application by setting the path and permissions for the web.config, as follows:
If you want to set up a web.config file in a subdirectory you can set
No comments:
Post a Comment