this has been answered on different forums, but i have tried all the solution none of them works
this is what i have tried so far
added batch="false" attribute within compilation section of the web.config
removed App_global.asax.dll file from bin
removed temp files from C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files- although they keep getting generated
did clean and re build solution
Error : the type 'ASP.global_asax' exists in both
'c:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files\root\00fc2357\712b6e00\assembly\dl3\ffed6c98\9dede25f_09c2cf01\SLIC.Website.Deployment.DLL'
and 'c:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files\root\00fc2357\712b6e00\App_global.asax.y_m8p2iy.dll'
protected ASP.global_asax ApplicationInstance {
Line 23: get {
Line 24: return ((ASP.global_asax)(this.Context.ApplicationInstance));