Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installation on Hostgator - Inheritance security rules violated while overriding memberInstallation on Hostgator - Inheritance security rules violated while overriding member
Previous
 
Next
New Post
3/24/2016 6:34 AM
 

Can anyone please help me resolve the following issue. I am setting up DNN on hostgator. I think its some permissions issue.
Step I have taken:
-Download DNN instalaltion zip - unblock it. - Upload zip and extract files in httpdocs folder. - Modified web.config for customError mode off. Accessed site but error occurs.

Error:

Inheritance security rules violated while overriding member: 'DotNetNuke.Web.Mvc.Framework.ModuleDelegatingViewEngine.FindPartialView(System.Web.Mvc.ControllerContext, System.String, Boolean)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.TypeLoadException: Inheritance security rules violated while overriding member: 'DotNetNuke.Web.Mvc.Framework.ModuleDelegatingViewEngine.FindPartialView(System.Web.Mvc.ControllerContext, System.String, Boolean)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

[TypeLoadException: Inheritance security rules violated while overriding member: 'DotNetNuke.Web.Mvc.Framework.ModuleDelegatingViewEngine.FindPartialView(System.Web.Mvc.ControllerContext, System.String, Boolean)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.]
   DotNetNuke.Web.Mvc.MvcHttpModule.Init(HttpApplication context) +0
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +418
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): Inheritance security rules violated while overriding member: 'DotNetNuke.Web.Mvc.Framework.ModuleDelegatingViewEngine.FindPartialView(System.Web.Mvc.ControllerContext, System.String, Boolean)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9932052
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34280


I have the the following users:

Plesk Domain User (envoywindows)

Plesk IIS Anonymous Account (IUSR_envoywindows)

Plesk IIS Worker Process Identity Account (IWPD_2196(envoywind))

 

 
New Post
3/24/2016 8:24 AM
 
please make sure, you have .Net framework 4.5.1 or later installed (build nuber must be .Net 4.0.378758 or higher)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/24/2016 8:56 AM
 

I have the same version installed on my local system and its working fine there. 
On my hosting server, It was 2.* or something before. I upgraded it to the only other option available which is the one i am am using "Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34280"

 
New Post
3/24/2016 10:40 AM
 
please contact your hosting provider, whether there is an upgrade to the .Net framework available on your server.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installation on Hostgator - Inheritance security rules violated while overriding memberInstallation on Hostgator - Inheritance security rules violated while overriding member


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out