| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 796 人关注过本帖
标题:[求助]发布网站显示的错误信息
只看楼主 加入收藏
myruo
Rank: 1
等 级:新手上路
帖 子:89
专家分:0
注 册:2006-10-19
收藏
 问题点数:0 回复次数:3 
[求助]发布网站显示的错误信息

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: An error occurred loading a configuration file: Access to the path 'F:\rocene\web.config' is denied.

Source Error:

[No relevant source lines]

Source File: F:\rocene\web.config Line: 0


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

我的web文件:
<?xml version="1.0"?>
<!--
注意: 除了手动编辑此文件以外,您还可以使用
Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的
“网站”->“Asp.Net 配置”选项。
设置和注释的完整列表在
machine.config.comments 中,该文件通常位于
\Windows\Microsoft.Net\Framework\v2.x\Config 中
-->
<configuration>
<appSettings/>
<connectionStrings>
<add name="myconn" connectionString="server=localhost;uid=sa;pwd=cqounuo;database=rocene;"/>
</connectionStrings>
<system.web>
<!--
设置 compilation debug="true" 将调试符号插入
已编译的页面中。但由于这会
影响性能,因此只在开发过程中将此值
设置为 true。
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
<!--
通过 <authentication> 节可以配置 ASP.NET 使用的
安全身份验证模式,
以标识传入的用户。
-->
<authentication mode="Forms">
<forms loginUrl="index.aspx" name="dtSystem" protection="All" path="/">
</forms>
</authentication>
<!--
如果在执行请求的过程中出现未处理的错误,
则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
开发人员通过该节可以配置
要显示的 html 错误页
以代替错误堆栈跟踪。

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages validateRequest="false"/>
</system.web>
</configuration>
-------------------------------------------
请各位大峡们看看怎么解决,是哪里出错了.

搜索更多相关主题的帖子: occurred 信息 网站 required specific 
2006-12-18 10:06
myruo
Rank: 1
等 级:新手上路
帖 子:89
专家分:0
注 册:2006-10-19
收藏
得分:0 
怎么没有大峡朋友们帮我呀!

2006-12-18 11:17
summoner
Rank: 6Rank: 6
等 级:贵宾
威 望:20
帖 子:1622
专家分:0
注 册:2005-3-3
收藏
得分:0 
看错误的意思是说,你没能访问web.config,你确定对web.config文件有权限吗?

[URL=javascript:window.close();e=new Enumerator(window.opener.document.images);for(;!e.atEnd();e.moveNext()){e.item().src=\'http://blog./UploadFiles/2007-1/117175967.gif\';}]其疾如風、其徐如林、侵掠如火、不動如山、難知如陰、動如雷震[/URL]
2006-12-18 13:17
myruo
Rank: 1
等 级:新手上路
帖 子:89
专家分:0
注 册:2006-10-19
收藏
得分:0 
谢谢楼上的兄弟

2006-12-18 13:18
快速回复:[求助]发布网站显示的错误信息
数据加载中...
 
   



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

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