MVC Startup Error

Discussion in 'Site Programming, Development and Design' started by James J, Oct 25, 2019.

  1. Hi All,

    I republished my site and now get this error:

    Attempt by security transparent method 'WebMatrix.WebData.PreApplicationStartCode.Start()' to access security critical method 'System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)' failed.

    Does anyone know what I'm doing wrong?

    Thanks,

    James
     
  2. ComputerMan

    ComputerMan Winhost Staff

Share This Page