获得hostgator的安全权限

时间:2014-06-05 11:49:38

标签: asp.net-mvc server-administration

我们在ASP.NET MVC 4中开发了一个应用程序,框架4.0,数据库为MY SQL 我们使用的dll版本: MySQl.data.dll:6.8.3 Nhibernate:3.3.3 Newtonsoft.json:4.5.11.15520 流利的Nhibernate:1.4.0.0

它在我的本地系统上工作得很好但不在Hostgator服务器上工作。 它无法连接到数据库。我们使用“log4net”来记录错误,&连接到数据库时出现以下错误 -

INFO 2014-05-31 02:54:24类:roundshopee.Models.DeverrorsRepository方法:IsDeverrorsExists行#:195 FluentNHibernate.Cfg.FluentConfigurationException:创建SessionFactory时使用了无效或不完整的配置。检查PotentialReasons集合,以及InnerException以获取更多详细信息。

---> System.Security.SecurityException:请求类型为'System.Security.Permissions.SecurityPermission,mscorlib,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'的权限失败。

我们用来连接数据库的连接字符串是:

Data Source = localhost; User ID = group_roundshope; Password = g#s9Um09; persist security info = False; initial catalog = groupon_roundshopee; charset = utf8; Convert Zero Datetime = true;

我检查了教程中的视频,但没有用 所以,你能帮助我吗?

0 个答案:

没有答案