标题:新手求助asp.net网页怎样才能运行?
只看楼主
lvgang
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2005-9-13
 问题点数:0 回复次数:1 
新手求助asp.net网页怎样才能运行?
请问各位高手!
要运行asp.net的网站,要怎样做!我装了IIS,也装了.net Framework 1.1
但是运行总出错呢!
错误如下:

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 18:     <customErrors  mode="Off" defaultRedirect="ErrorPage.aspx" />
Line 19:      <!--RemoteOnly-->
Line 20:     <authentication mode="Forms">
Line 21: 		<forms name="XpShopMemberAuth" loginUrl="Login.aspx" protection="All" path="/" />
Line 22:     </authentication>

Source File: C:\Inetpub\wwwroot\website\xshop\web.config Line: 20

请各位高手给予指点,是我的服务器没配置好,还是asp.net网页有错误!
搜索更多相关主题的帖子: 网页 asp 运行 
2006-03-22 16:10
virusswb
Rank: 1
等 级:新手上路
威 望:1
帖 子:342
专家分:0
注 册:2005-8-6
得分:0 
Line 20: <authentication mode="Forms">
按它的提示改成
<authentication mode="Forms">

jorden008@
2006-03-22 22:20



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




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

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