In my web application, I had given some set of coding's in the APPLICATION_START() in Global.asax file. Its been working while I run it on the development server. Whereas, when I hosted it in IIS, the Application_Start event is not firing. Can any one help me to get rid of this... Thanks in advance.
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
No idea if this is your situation, but in case it helps, this happened to me with the following conditions:
PreApplicationStartMethod
defined.(This arose because I was trying to use Ninject.Web 3.0 in a web forms application. It relies on
WebActivator
which is unsigned and so I can't use it easily with my signed assemblies. So I tried to callNinjectWebCommon.Start()
fromApplication_Start()
manually which works fine with the debug webserver but not with IIS in integrated mode.)