Events in Global.asax are not firing

前端 未结 5 2029
有刺的猬
有刺的猬 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:37

    As I write here, in my case, I was publish my site in production and I miss copy to server App_global.asax.compiled file. For this reason was not fire the Events inside Global.asax.

    Hope anyelse help this tips, I lost 8 hours seeking.

提交回复
热议问题