Global.asax file not excuting at Hosting server

Sunil Soni
Posted by Sunil Soni under ASP.NET category on | Points: 40 | Views : 2015
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.

Comments or Responses

Login to post response