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?
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?
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.
oblomov86
Member
280 Points
76 Posts
Autorestart application pool IIS after deployment
Nov 21, 2012 09:54 AM|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?
jagjot
Contributor
2648 Points
1229 Posts
Re: Autorestart application pool IIS after deployment
Nov 21, 2012 10:03 AM|LINK
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?
M.Sc, MIEEE, MCP, CCNA
oblomov86
Member
280 Points
76 Posts
Re: Autorestart application pool IIS after deployment
Nov 21, 2012 10:10 AM|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.
jagjot
Contributor
2648 Points
1229 Posts
Re: Autorestart application pool IIS after deployment
Nov 21, 2012 10:22 AM|LINK
sounds like configuration issue. here is configuration link for Win Server 2008 R2
http://technet.microsoft.com/en-us/library/cc753179(v=ws.10).aspx
Hope this helps...
M.Sc, MIEEE, MCP, CCNA