| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 566 人关注过本帖
标题:请问ASP.NET的运行环境要怎么配制
只看楼主 加入收藏
danhaoran
Rank: 1
等 级:新手上路
帖 子:224
专家分:0
注 册:2005-10-1
结帖率:100%
收藏
 问题点数:0 回复次数:0 
请问ASP.NET的运行环境要怎么配制
请问的运行环境要怎么配制,我的电脑上安装了IIS,也安装了 2005;还下载了一个dotnetfx.exe
修复....
运行
<script language="c#" runat="server">
void Page_Load()
{
Response.Write("Hello World!");
}
</script>

出现这样的错误;
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 40:             (基本、简要或集成 Windows)。在 IIS 中必须禁用匿名访问。          "Forms" 您为用户提供一个输入凭据的自定义窗体(Web 页),然后
Line 41:            在您的应用程序中验证他们的身份。用户凭据标记存储在 Cookie 中。          "Passport" 身份验证是通过 Microsoft 的集中身份验证服务执行的,           它为成员站点提供单独登录和核心配置文件服务。    -->
Line 42:     <authentication mode="Forms" />
Line 43:     <!--  授权
Line 44:            此节设置应用程序的授权策略。可以允许或拒绝不同的用户或角色访问
搜索更多相关主题的帖子: NET ASP 环境 配制 运行 
2008-04-11 09:58
快速回复:请问ASP.NET的运行环境要怎么配制
数据加载中...
 
   



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

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