1. If Global.asax event does not fire
Ans – We should include App_global.asax.dll, App_global.asax.compiled from bin
directory and global.asax
2. Application_Acquire event throws and exception
a. If you want to use session object then it throw exception
Ans - if (System.Web.HttpContext.Current.Session == null)
return;
3.Generating pdb.files of web application
Ans - VS does not allow to generate .pdb files of .dll for web application.
run following command.
Aspnet_compiler [-v] /[virutual directory name of web application] [-d] [destination path]
e.g.
F:\Program Files\Microsoft Visual Studio 8\VC>Aspnet_compiler -v /presentationtier -d d:\staging
No comments:
Post a Comment