| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 551 人关注过本帖
标题:[求助]出错是怎么回事啊?
只看楼主 加入收藏
坚韧祷言
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2006-11-29
收藏
 问题点数:0 回复次数:4 
[求助]出错是怎么回事啊?

Server Error in '/web' 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.

好像下载的所有的源码都是错在这一句:
Line 43: <authentication mode="Windows" />

Source File: F:\web\dotnet\guestbook2\web.config Line: 43


是不是我还有哪儿没有设置啊???能教教吗?

搜索更多相关主题的帖子: registered occurred required specific beyond 
2006-12-02 19:04
bygg
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:乖乖的心中
等 级:版主
威 望:241
帖 子:13555
专家分:3076
注 册:2006-10-23
收藏
得分:0 
你是IIS没有配置好.

飘过~~
2006-12-02 20:04
坚韧祷言
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2006-11-29
收藏
得分:0 
能教教我怎么配置吗?小生跪谢了~~~~~

菜鸟先飞……
2006-12-02 20:07
bygg
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:乖乖的心中
等 级:版主
威 望:241
帖 子:13555
专家分:3076
注 册:2006-10-23
收藏
得分:0 
在IIS里面的"网站"点右键.新建"虚拟目录".里面有个选择地址,选到你的项目文件夹就行了.
以前好像有人发过这样的帖子,你找找.

飘过~~
2006-12-02 20:11
坚韧祷言
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2006-11-29
收藏
得分:0 
嗯。了解了!!谢谢
我晕。原来这么简单,要把程序所在的目录设置虚拟目录。

还以为会像ASP那样~~~

菜鸟先飞……
2006-12-02 20:48
快速回复:[求助]出错是怎么回事啊?
数据加载中...
 
   



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

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