Last post May 21, 2013 05:55 AM by Angie xu - MSFT
May 14, 2013 09:40 AM|kh67|LINK
After publishing Orchard from VS web 2012 to my domaine(1&1 shared Host Server) by Ftp , this error is invoked when i log to my website :
Inheritance security rules violated while overriding member: 'log4net.Util.ReadOnlyPropertiesDictionary.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.
Help Please (More than 20 days of search) ??? Please.
May 14, 2013 09:54 AM|Rajneesh Verma|LINK
Its all about trust level for Log4net dll, You can add trust level full in web.config:
<trust level="Full" />
If still issue persist then do as follow:
May 14, 2013 10:50 AM|kh67|LINK
thanks you : -)
Now it give this error :
I think that it's because the configuration of the shared iis server , i will call the support of the company.
Line 49: </system.transactions>
Line 50: <system.web>
Line 51: <trust level="Full" /> Line 52: <!--<trust level="Medium" originUrl="" />-->
May 16, 2013 02:31 AM|necro_mancer|LINK
The error message simply indicates that your current shared host does not support full trust. I do not think that they can easily enable the full trust setting for you.
If in case they cannot enable it for you, you need to look for a host that supports full trust. One that I can recommend for you is
Hope this helps
May 16, 2013 04:01 AM|kh67|LINK
Thanks necro_mance and all of you gays , I will
terminate my contract with this host because his support is very bad , i'm looking for other host , thanks for your recommendation.
May 21, 2013 05:55 AM|Angie xu - MSFT|LINK
If you have any issues about deploying asp.net application to IIS, you could get help from our
Configuration and Deployment forum directly,
At the same time you can also try Windows Azure host with 3 month free trial,
Windows Azure and SQL Azure enable you to build, host and scale applications in Microsoft datacenters. They require no up-front expenses, no long term commitment, and enable you to pay only for the resources you use. With Windows Azure you can focus on development
of your solutions, rather than the infrastructure problems associated with your solution.
1.Quickly build, deploy & manage applications.
2.Use any operating system, language or tool.
3.No obligation, totally free.
For more information:
hope it helps you,