标题:web.config里面有个配置错误,不知道怎么回事,晕了
取消只看楼主
yzwt2004
Rank: 1
等 级:新手上路
帖 子:472
专家分:0
注 册:2006-1-18
 问题点数:0 回复次数:0 
web.config里面有个配置错误,不知道怎么回事,晕了

小第刚学.net,买了本书,拿了个例子来运行,可全都运行不了,都出现同样的错误,急


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.

web.config文件:

Line 16: <pages buffer="true" enableViewStateMac="false" smartNavigation="false" validateRequest="false"/>
Line 17: <customErrors mode="RemoteOnly" defaultRedirect="DesktopModules/ErrorPage.aspx"></customErrors>
Line 18: <authentication mode="Windows"/>
Line 19: <httpRuntime maxRequestLength="10000" useFullyQualifiedRedirectUrl="true" executionTimeout="300"></httpRuntime>
Line 20: <authorization>

错在红色字那里,谁知道是怎么回事吗?

搜索更多相关主题的帖子: web config 
2007-05-03 14:25



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-136711-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.135405 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved