Events in Global.asax are not firing

前端 未结 5 1932
有刺的猬
有刺的猬 2021-01-19 03:27

In my ASP.Net application, I can\'t get the events in Global.asax to fire on my machine. For instance, Session_Start will not fire.

The same Global.asax works fine

5条回答
  •  臣服心动
    2021-01-19 03:54

    becuase project is compiled first and then you have add or modify or changed location of global.asax.vb.

    Solution :- Just remove debug folder. Clean project and then rebuild whole project.

    Regards, Mihir

提交回复
热议问题