Some times It happens that When we publish our project then it generates .dll file of global.asax, In this case some times hosting server do not execute global.asax file. For getting rid from this problem follow the steps:
1. Only copy global.asax file into wwwroot folder,Now it will work fine.
2. Do not copy assembly of global.asax .dll(assembly) file into bin folder.