c# - IIS stops responding after recompile -


i have web app i'm developing under local iis (so not not visual studio embedded one). works fine, can go page page...

but if change code , recompile, iis stops responding ~2 minutes. if attach debugger, there's no executing code, won't serve pages.

if stop app pool in iis, 503 error instantly, prevented restarting app pool ~2 minutes error: cannot start application pool / there error while performing operation. / details: / service cannot accept control messages @ time. (exception hresult: 0x80070425)

as can imagine, crippling productivity. started happening couple of days ago, haven't made changes code have though cause problem... , doesn't matter page touch , recompile anyway, takes long recover. nothing in event log.

any clues start looking?

add following line web.config:

 <compilation optimizecompilations="true" /> 

related article: http://www.dnnsoftware.com/community-blog/cid/135019/a-small-webconfig-setting-that-can-save-you-development-time


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -