分享

写回答

发帖

[提问] 云主机信任等级也不够?

GoDaddy GoDaddy 2065 人阅读 | 5 人回复

发表于 2010-3-16 23:02:01 | 显示全部楼层 |阅读模式

弄来弄云,这样是不是说信任等级不够,还是没法装了吧?

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

回答|共 5 个

hzau

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



我通过SMTP用Gmail帐号发信一样遇见这个问题

用到的是.NET的System.Net.Mail

网上说他的主机用的麦咖啡 不支持 郁闷了 本地发送完全木问题 服务器权限问题

add.c

发表于 2010-3-17 11:17:02 | 显示全部楼层

windows的发信你可以使用其他的代码
http://bbs.idcspy.com/thread-25356-1-1.html

cbiz

发表于 2010-3-17 13:12:33 | 显示全部楼层

顶上去,让大家帮忙。
我只是刚刚在开始安装工作易的人才系统就出现这样的提示,安装都没办法进行了。
只是刚刚在安装就出现了。
大家帮我试一下,
http://www.ijob114.com/workyi/admin/Admin_Login.aspx
用户名和密码都是admin
就出现以上提示了。

add.c

发表于 2010-3-17 13:18:30 | 显示全部楼层

信任默认在虚拟主机和云主机都是一样的,
你可以考虑下ixwebhosting ,这家的好像是full权限

cbiz

发表于 2010-3-17 13:25:19 | 显示全部楼层

谢谢班主。
他的回信是这样的,说是能够改webconfig 吗?
Thank you for your reply.  It appears that the error you are receiving is due to the fact that your script is trying to run on full trust.  Please be advised that your current version of ASP.NET is set by default to medium trust.  As this permission cannot be changed on a shared hosting environment, you will need to modify your web.config file to run on medium trust.  As this is custom scripting, we would not be able to advise how this would be accomplished.  If you require full trust on your hosting account, you may consider a virtual dedicated or dedicated server.
您需要登录后才可以回帖 登录 | 注册

本版积分规则