1
I have developed a website in c# that is still in the testing phase, using . Netframework 4.0 and MVC 4
I’m using Nhibernate and Fluentnhibernate to map my entities.
The site works perfectly on any computer I set up the IIS.
But I hired a hosting that is Uolhost, and I am facing problems with the message below when accessing a controller that establishes connection to the database:
Inheritance security rules violated while overriding member: 'FluentNHibernate.Cfg.FluentConfigurationException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security Accessibility of the Overriding method must match the security Accessibility of the method being overriden.
It’s the first time I’m hosting a website in this type of environment
If I debug my project on my computer, pointing to the Uolhost hosting database works too, ie my Webconfig so far is correct
I’ll be grateful for your help
You managed to solve this problem ? How did ?
– FernandoPaiva