IIs Error: Application Codebehind=“Global.asax.cs” Inherits=“nadeem.MvcApplication”

前端 未结 22 3212
灰色年华
灰色年华 2021-02-19 15:16

I am trying to deploy my web project and I keep getting this error:

Line 1: <%@ Application Codebehind=“Global.asax.cs” Inherits=“nadeem.MvcApplication” Langu         


        
22条回答
  •  梦毁少年i
    2021-02-19 16:13

    You can change it by editing Globas.asax file (not Global.asax.cs). Find it in app folder in windows explorer then edit

    <%@ Application Codebehind="Global.asax.cs" Inherits="YourAppName.Global" Language="C#" %>

    to

    <%@ Application Codebehind="Global.asax.cs" Inherits="YourAppName.MvcApplication" Language="C#" %>

提交回复
热议问题