分享

写回答

发帖

[提问] 请看下,怎么会出现这个情况呢?

GoDaddy GoDaddy 1618 人阅读 | 10 人回复

发表于 2008-6-6 13:54:09 | 显示全部楼层 |阅读模式

我把.NET程序上传到我的GODADDY控件去,访问的时候,提示下面的错误信息

Required permissions cannot be acquired.

在咨询了GODADDY后,他们说我的空间是medium trust,不是 full trust,因为.NET是有DLL组件的

所以我想请问下,我如何才能在WINDOWS HOST上面运行.NET程序呢?或者,我怎么才能把空间从medium trust 转变成 full trust呢 ?

谢谢

回答|共 10 个

add.c

发表于 2008-6-6 14:03:45 | 显示全部楼层

To Add a Trusted Site
In Internet Explorer, from the Tools menu, click Internet Options.
Click Security.
Click Trusted Sites.
In the Security level for this zone box, check your security level. You may need to do one of the following:
If it is set to High, use the slider to change it to a Medium or lower security level.
If it is set to Custom, click Default Level, and then use the slider to change it to a Medium or lower security level.
NOTE: If you are running Windows Vista, verify that Enable Protected Mode is NOT selected.

Click the Sites button.
In the Add this Web site to the zone field, type the URL for the trusted Web site.
De-select Require server verification for all sites in this zone.
Click Close.
On the Internet Options window, click OK.

强强叫小强

发表于 2008-6-6 17:11:26 | 显示全部楼层

年纪在说什么?

强强叫小强

发表于 2008-6-6 17:13:36 | 显示全部楼层

你在说什么?
我是要在GODADDY的空间要完全信任,又不是让我自己电脑可以访问这些网站
晕死
请看tanyijing.com
我想就知道是什么意思了

add.c

发表于 2008-6-6 17:16:32 | 显示全部楼层

说的就是"medium trust,不是 full trust"

强强叫小强

发表于 2008-6-6 17:21:05 | 显示全部楼层

我想请问下,如果设置GODADDY的空间权限,从medium trust变成FULL TRUST?

add.c

发表于 2008-6-6 17:22:25 | 显示全部楼层

那个是网页信任,我没用过的。
你照我上面的步骤设置看看

强强叫小强

发表于 2008-6-6 17:26:42 | 显示全部楼层

兄弟,你说的这个是设置自己的电脑如何访问的,你看到我的站点了没?
tanyijing.com
这个应该是GODADDY的IIS权限设置或者是.NET对第三方DLL权限设置的原因造成的,如果IIS权限不是FULL TRUST,则不能运行,所以啊,明白我的意思了吗?谢谢

add.c

发表于 2008-6-6 17:35:21 | 显示全部楼层

看了下你网站,貌似你的程序有问题。。
你上传一个html文档看是否可以访问,如能就说明你现在的程序有问题

强强叫小强

发表于 2008-6-6 20:40:16 | 显示全部楼层

不是程序问题拉
问清楚了
GODADDY居然不支持2。0的完全信任,晕死
您需要登录后才可以回帖 登录 | 注册

本版积分规则