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
-
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
Try setting the trust level[^] to FULL. If that is not working, I believe you need to contact the hosting provider. :)
Navaneeth How to use google | Ask smart questions
-
Try setting the trust level[^] to FULL. If that is not working, I believe you need to contact the hosting provider. :)
Navaneeth How to use google | Ask smart questions
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
-
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
-
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