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

前端 未结 22 3208
灰色年华
灰色年华 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条回答
  •  悲&欢浪女
    2021-02-19 16:09

    In my case problem occurred after namespace renaming. I didn't use external tool like Re-sharper, I did renaming manually.

    In that process, Views/Web.config file was left unchanged. After replacing old namespace name with the new one in this file, the error disappeared.

提交回复
热议问题