全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 5630|回复: 0

Godaddy"Required permissions cannot be acquired"问题

[复制链接]
发表于 2008-6-4 15:30:52 | 显示全部楼层 |阅读模式
Godaddy的windows主机空间一般不允许调用第三方DLL,所以在asp.net 运行时经常出现:

Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

GODDADY设置信任级别为Medium,而且不客户不能修改  而有的程序需要到全部信任<trust level="Full"/>
你可以在web.config里面把这个注释掉或删掉<trust level="Full"/>

注:在机器上还有个machine.config,,z级别比web.config更高.
所以他在machine.config里限制了<trust level="Medium"/>,你就没办法了.
说明下,这个限制是不能引用第三方DLL文件.

也就是说没有解决的方法..除非和GODADDY商量让他开放权限..但希望不大
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-19 21:18 , Processed in 0.056772 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表