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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -