为什么我的ASP.NET程序运行不了
七伤拳 2002-04-08 09:47:07 我用VS.NET新建一个ASP.NET工程,并没做任务修改,但是运行时却出错,错误信息如下:
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 36: "Passport" and "None"
Line 37: -->
Line 38: <authentication mode="Windows" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING
Source File: D:\Inetpub\wwwroot\WebApplication1\web.config Line: 38
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
请问这到底是怎么回事?
谢谢了。