Parser Error: Server Error in '/' Application

前端 未结 19 3030
失恋的感觉
失恋的感觉 2020-12-05 22:33

I got the following error: \"An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details a

19条回答
  •  余生分开走
    2020-12-05 23:24

    In my case the solution was the next:

    1. Verify the markup of Global.asax, in the attribute Inherits I had this Inherits="NameOfMyProject.Global"
    2. Then, verify the Global.asax.cs and I found this:

      public class Global_asax : System.Web.HttpApplication

    3. Therefore, I changed the attribute Inherits in my Global.asax, and finally the markup was the next:

      Inherits="NameOfMyProject.Global_asax"

    4. Also, I started the: ASP.NET state service, in the Administrative Tools. Then, my app run normally.

提交回复
热议问题