none
Inheritance security rules violated by type: 'System.WebPages.Razor.WebPageRazorHost'. Derived types must either match the security accessibility of the base type or less accessible. RRS feed

Answers

  • Hi RedCuda,

    please remove the System.Web.Razor assembly binding in the web.config if present.

    In addition, Since it is a asp.net MVC issue, you could also post your issue on asp.net MVC forum for support.

    https://forums.asp.net/1146.aspx/1?MVC

    Best regards,

    Cole Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by RedCuda Wednesday, November 14, 2018 4:32 PM
    Friday, June 2, 2017 2:17 AM

All replies

  • Hi RedCuda,

    please remove the System.Web.Razor assembly binding in the web.config if present.

    In addition, Since it is a asp.net MVC issue, you could also post your issue on asp.net MVC forum for support.

    https://forums.asp.net/1146.aspx/1?MVC

    Best regards,

    Cole Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by RedCuda Wednesday, November 14, 2018 4:32 PM
    Friday, June 2, 2017 2:17 AM
  • Thank you!
    Wednesday, November 14, 2018 4:32 PM