. NET source program under IIS debugging a problem
Source: Internet
Author: User
.“ /"Server errors in the application.
--------------------------------------------------------------------------------
Configuration error
Description: An error occurred while processing the configuration file required to provide services to the request. Please check the specific error details below and modify the configuration file appropriately.
Parser error message: Using a section registered as allowdefinition= ' machinetoapplication outside the application level is incorrect. This error may be caused by the fact that the virtual directory is not configured as an application in IIS.
SOURCE Error:
Line: "Passport" and "None"
Line:-->
Line: <authentication mode= "Windows"/>
Line 39:
Line: <!--application-level TRACE LOGGING
Source file: C:inetpubwwwrootwebsiteaspbbsweb.config Line: 38
--------------------------------------------------------------------------------
Version information: Microsoft. NET Framework Version: 1.0.3705.0; asp.net version: 1.0.3705.0
I am a beginner. NET, so want to find an original program to analyze learning
But I find a after, in the HttP://localhost virtual directory running, the show, I began to understand why, see how to configure: Web.config but look at the contents of it, also do not know why,
Start to look online, but do not know what the title to find, did not find, later found
The solution is:
In IIS, under your virtual directory-> Select the folder you have failed >-> right click-Properties-> Application Settings->
Creation is normal.
Through this question:
I think the internet is very important for us to learn the network, but how to search for our problems?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.