Recycle (Restart) IIS 7 application pool from within ISAPI extension -


i developing isapi extension. how make isapi extension recycle (restart) application pool running on?

to achive can disable rapid-fail protection , call terminateprocess(getcurrentprocess(), 0); leads potential data loss.

also can executing external program %windir%\system32\inetsrv\appcmd.exe recycle apppool /apppool.name:"name of app pool" way have configure app pool name somewhere , pool identity has have administrator privileges. done through wmi, administrator privileges needed too. don't want give application pool administrator rights.

so there way give user privilege restart application pool not full administrator rights? may setting in local security policy?

or solution create daemon (service) run administrator , wait message isapi extension restart it?


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -