Last post Nov 21, 2012 06:22 AM by jagjot
Nov 21, 2012 05:54 AM|oblomov86|LINK
IIS 7.5, asp.net
I use deployment through file system for asp.net application. I have to restart pool after each deployment. How to configure pool for automatic restart after each deployment?
Nov 21, 2012 06:03 AM|jagjot|LINK
I have to restart pool after each deployment.
By default - if you change 15 files in an ASP.NET application at once (even via FTP) then the app pool is automatically recycled. You can change the number of files but as soon as web.config and bin files are changed then it needs to recycle.
What is you server enviornment? are you on server farm?
Nov 21, 2012 06:10 AM|oblomov86|LINK
Windows Server 2008 R2
In application I use windows authentication. I get AppDomain exception every time after deployment (or simple coping files to application folder). After manual pool restart it works fine.
Nov 21, 2012 06:22 AM|jagjot|LINK
sounds like configuration issue. here is configuration link for Win Server 2008 R2
Hope this helps...