Server Error in '/' 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 26:             ASP.NET to identify an incoming user. 
Line 27:         -->
Line 28:  <authentication mode="Windows"/>
Line 29:  <!--
Line 30:             The <customErrors> section enables configuration 
Source File: c:\inetpub\wwwroot\bswz\web.config    Line: 28Version Information: Microsoft .NET Framework Version:2.0.50215.312; ASP.NET Version:2.0.50215.312 出现了,这个错误,请各位大侠帮忙解决!!
192.168.3.52是我的电脑的外网地址!!

解决方案 »

  1.   

    你的虚拟目录没有设置正确,或者除了虚拟目录根目录下的web.config文件外,子目录中的web.config文件中出现了<authentication mode="Windows"/>配置节,记住:除了虚拟目录的根目录外,任何子目录下的web.config文件中不能再有<authentication mode="Windows"/>配置节。
      

  2.   

    意思,是我要在web.config文件里面删除这个<authentication mode="Windows"/>这行!!大侠!!
      

  3.   

    只要在IIS中配置应用程序即可解决。
      

  4.   

    IIS虚拟目录名>>属性>>应用程序设置>>点击“创建”即可。
      

  5.   

    Server Error in '/bswz' Application.
    --------------------------------------------------------------------------------The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files'. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files'.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: 
    [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files'.]
       System.Web.HttpRuntime.InitFusion() +3485507
       System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +158[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files'.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3431703
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +147 
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50215.312; ASP.NET Version:2.0.50215.312 那个解决了,现在又出现这个问题了!!请各位大侠帮人帮到底啊!!
      

  6.   

    上面这个问题,我也解决拉,就是刀那个C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files,里面安全选项卡,里面调整一下,用户权限就行了,谢谢各位大侠!!asp.net是厉害,高手是多啊!!