Server Error in '/asp.net' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message: Unrecognized attribute 'xmlns'.Source Error:Line 1:  <?xml version="1.0"?>
Line 2:  <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 3:   <!--
Line 4:   <configSections>
Source File: F:\asp\Codejia\Netv1.0\CODEJIA\web.config    Line: 2Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573问题在<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
我是个新手,希望大家帮帮忙,谢谢了.

解决方案 »

  1.   

    网上的不一定都是对的,环境也不一样的,你把xmlns去掉吧
      

  2.   

    xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"这一段全去掉
      

  3.   

    Source File: F:\asp\Codejia\Netv1.0\CODEJIA\web.config    Line: 2
    已经告诉你了第2行错了啊,删除掉,
      

  4.   

    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    改为:
    <configuration>
      

  5.   

    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    改为:
    <configuration>
    ===========================================
    正解。
      

  6.   

    Server Error in '/asp.net' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.Source Error:Line 19:  <pages buffer="true" enableViewStateMac="false" smartNavigation="false" validateRequest="false"/>
    Line 20:  <customErrors mode="On" defaultRedirect="ErrorPage.aspx"></customErrors>
    Line 21:  <authentication mode="Windows"/>
    Line 22:  <httpRuntime maxRequestLength="10000" useFullyQualifiedRedirectUrl="true" executionTimeout="300"></httpRuntime>
    Line 23:  <authorization>
    Source File: F:\asp\Codejia\Netv1.0\CODEJIA\web.config    Line: 21Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573如何解决