sfc重装机兵r最强装备:ASP.NET的问题

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/04 07:40:58
我的机器是WINDOWS2003的,测试一套ASP.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 23: </assemblies>
Line 24: </compilation>
Line 25: <authentication mode="Forms">
Line 26: <forms name=".isuperspace" loginUrl="login.aspx" protection="All" path="/" timeout="30" />
Line 27: </authentication>

Source file: f:\\inetpub\\wwwroot\\i-favourite\\blog\\web.config Line: 25

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
我知道,但是WEB.CONFIG文件错在哪里了,应该怎么改??

你的WEB.CONFIG文件有错误

你看看你的文件的路径是不是正确。