Thanks Navaneeth, thank you for your replying quickly. I tried to set trust level to FULL but it was not work. And I contacted with the hosting provider, the problem was solved :-D. Nhan
Y
yesterday305
@yesterday305
Posts
-
Problem when publishing website. -
Problem when publishing website.Dear Expert, My website worked fine on local machine but throw an exception when running on hosting. Please look at following exception. Some infomations about my site: - Asp.net 2.0. - Used Eucalypto open source, dll file (NHibernate). - MsSql 2005. Any help is appreciate! Exception here: NHibernate.MappingException: Could not compile the mapping document: Eucalypto.Forum.Message.hbm.xml. System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Thanks, Nhan