Quantcast
Channel: Troubleshooting
Viewing all articles
Browse latest Browse all 1814

IIS 8.5 - Application life cycle - Application_start not fireing after changes

$
0
0

I am using IIS 8.5 on a Windows 2012 server. The .Net version is 4.6.1. The app pool is running in integrated mode. 32 bit is forced because of some external libraries and the authentication mode is "windows".

My web application is using the Application_start event of the global.asax to init some global values. That works fine for the first start of my website. But later IIS never restart the application when changes are made on the global.asax (or web.config) so that Application_start not called again. Stopping and starting the app pool or an IISReset doesn't work. Even a restart of the whole server will not fix the problem. I've also tried to delete the ASP.NET temporary files - but no effect. Only if I delete all files an copy a modified !!! version of the website on the server and restart it there is a chance that Application_start is called again and the changes take effect.

In my understanding should IIS automatically restart the application after changes on the global.asax oder web.config. At least when IISReset is called the life cycle of my application should end.

Am I right or do i wrong? Is there maybe a type of misconfiguration on my side?

.rig


Viewing all articles
Browse latest Browse all 1814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>