hautzhb - 2009/9/13 11:24:00
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 68: </buildProviders>
Line 69: </compilation>
Line 70: <authentication mode="Forms" />
Line 71: <customErrors mode="Off">
Line 72: <error statusCode="404" redirect="/" />
Source File: D:\精品课程\省精品\2009\wlycb\xinwen\web.config Line: 70
Show Additional Configuration Errors:
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. (D:\精品课程\省精品\2009\wlycb\xinwen\web.config line 74)
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
紧急求助,焦急等待中,万分感谢!
apple - 2009/9/13 12:53:00
xinwen这个目录设置为IIS默认站点的路径就可以了
hautzhb - 2009/9/13 15:59:00
原帖由 apple 于 2009-9-13 12:53:00 发表 xinwen这个目录设置为IIS默认站点的路径就可以了 |
老大,没有其他的方法了么,服务器上IIS设置我没有权限呀。
另外,问下如果IIS默认站点设置成xinwen目录后,会不会影响iis下其它asp或aspx网站的正常运行??莫非一个iis下只能使用一个pageadmin类型的.net的网站?是不是所有的.net的网站都必须这样设置还是只有pageadmin类型的.net的网站需要这样设置?
再次万分感谢!