手上的纹身图案:ASP.net中出现在问题

来源:百度文库 编辑:高考问答 时间:2024/04/27 17:11:09
我建立虚拟目录后为什么运行后会出现以下错误?是不是IIS配置问题?请问如何修复
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

运行时错误
说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。

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 15: <compilation defaultLanguage="c#" debug="true" />
Line 16: <customErrors defaultRedirect="error.htm" mode="RemoteOnly" />
Line 17: <authentication mode="Windows" />
Line 18: <authorization>
Line 19: <allow users="*" />

Source File: c:\inetpub\wwwroot\asp.net\sample\shop\web.config Line: 17
楼下的,我改了,错误依旧,提示的错误还是一样,没有什么详细错误

mode="RemoteOnly"这句改成mode="On"查看详细错误原因先.