问题描述
我有一个问题,当我尝试举办我的网站上GoDaddy的。
这是我从网站获得:
i'm having a problem when i try to host my website on godaddy.This is what i receive from website:
异常详细信息:System.Security.SecurityException:申请类型的权限'System.Security.Permissions.SecurityPermission,mscorlib程序,版本= 2.0.0.0,文化=中性公钥= b77a5c561934e089'失败
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.
要发现问题,我已经试过了变化我的web.config,加入信任级别='中'。
但我得到一个错误,当我尝试用MySQL Connector访问GoDaddy的MySQL服务器。
To discover the problem, i've tried changin my web.config, adding "trust level='Medium'".But i get an error when i try to access godaddy mysql server with the mysql connector.
任何想法?
在此先感谢!
Any ideas ?Thanks in advance !
推荐答案
好吧,我找到了解决方案。
据有关MySQL连接器!
该死的(godaddy的:()我在解决了1天看着!
Ok, i found the solutions.http://help.godaddy.com/article/1496It was related the mysql connector !Damn it (godaddy :( ) i spent 1 day look at the solutions !
这篇关于GoDaddy的和ASP.NET安全抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!