分享

写回答

发帖

[提问] 谁能发我一个可用的web.config

GoDaddy GoDaddy 1652 人阅读 | 12 人回复

发表于 2010-11-10 09:32:00 | 显示全部楼层 |阅读模式

我已经论坛里,google上看了一天了,还是无法解决500问题

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

哪位好心人发我一个可用的web.config,谢谢啦!QQ:54041273

我的系统是windows、IIS7、ASP.NET3.5

回答|共 12 个

gypworks526

发表于 2010-11-10 10:18:41 | 显示全部楼层

这个里面有.

GoDaddy 500错误解决

zhujiawei7

发表于 2010-11-10 10:26:17 | 显示全部楼层

谢谢了,网上的东西都看了一天了。
还是搞不定,所以发帖直接求个web.config文件,来的省事

nectar

发表于 2010-11-10 12:25:55 | 显示全部楼层

给你,就是这论坛下载的
适用于IIS7的500web.config文件.zip (269 Bytes, 下载次数: 1754)

zhujiawei7

发表于 2010-11-10 14:54:47 | 显示全部楼层

原帖由 nectar 于 2010-11-10 12:25 PM 发表
给你,就是这论坛下载的18264


厄~~~这是2个节点的实例好不,都看了一天了会不知道这个么
我需要完整的,真正在项目中实用的web.config

add.c

发表于 2010-11-10 15:48:21 | 显示全部楼层

回复 5# 的帖子

直接这个 :http://bbs.idcspy.com/attachment.php?aid=12454
传到你网站所在目录
另外读写权限你设置了吧?

zhujiawei7

发表于 2010-11-10 16:28:01 | 显示全部楼层

原帖由 add.c 于 2010-11-10 03:48 PM 发表
直接这个 :http://bbs.idcspy.com/attachment.php?aid=12454
传到你网站所在目录
另外读写权限你设置了吧?



你的跟楼上的一样,只是个节点的实例。这个几个节点我加过了的,错误依旧
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
也没有任何的详细错误信息

权限都设置了读、写,就是让所有文件夹后面的眼睛跟笔的图标亮起来就行了吧

我网站所有的文件都跟root放在一起,这样对不?需要新建个文件夹放里面吗?

zhujiawei7

发表于 2010-11-10 21:52:44 | 显示全部楼层

我的网站在自己的IIS7上运行是正常的,上传上去后出现以下错误
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

我增加"<trust level="Full" />" 或"<trust level="Medium" />" ,又出现其他错误,如下
Parser Error Message: This configuration section cannot be used at this path.  This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.

经我网上查询,这个错误是因为GD的Machine.config  <location allowOverride="false"> "<trust level="Medium" />"  ,
所以我们的web.cofnig 无法重写,不知道有没有人有同样的问题,求解决方案

Jaedong

发表于 2010-11-10 23:01:36 | 显示全部楼层

原帖由 zhujiawei7 于 2010-11-10 09:52 PM 发表
我的网站在自己的IIS7上运行是正常的,上传上去后出现以下错误
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscor ...

说明你的程序是不适合在GD上运行的

周瑜

发表于 2010-11-11 08:25:34 | 显示全部楼层

已阅,记录性回帖,多谢各位大侠!!回帖是美德!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则