วันอังคารที่ 13 พฤษภาคม พ.ศ. 2557

Application pool 'xxx' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

Today got another Hard time to run some Application in my localhost.
It just simple to make Oracle Provider run by set Enable 32-Bit Applications to True on Application pool advanced settings

but this time my IIS crash and don't know why?.
I just only create new Application Pools and set it to support 32 bit Application.

Go to Windows Logs > System it show Error

"Application pool 'xxx' is being automatically disabled due to a series of failures in the process(es) serving that application pool."

this error not much help My application work fine when run Debug and if use Default Application pool it work fine except can't use Oracle Provider.

After some research I can't find any answer directly but got some clues.

Application Pool Need permission to work too.

In Application Pool in Advanced Settings we have "Process Model > Identity" that it auto generate when create new Application pool. I assume that Identity don't have some permission on something but I don't have time to find about that. so I change Identity to "NetworkService" and the problem is gone.

Hope this help.

วันศุกร์ที่ 9 พฤษภาคม พ.ศ. 2557

Visual Studio Extensions for Windows Library for JavaScript in VS 2013 won't update correctly.

After click update it will continue to show last version and can't update anymore but show repair and uninstall instead.
after some research to make it work we need tool call "msiinv" to uninstall old version (for me is 2 version 1.x and 1 version for 2.x)

here is ref
http://stackoverflow.com/questions/22960240/after-installing-visual-studio-extensions-for-windows-library-for-javascript-u

go to download msiinv from
http://blogs.msdn.com/b/astebner/archive/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer.aspx

uninstall zip package in c:\msiinv and run command
msiinv.exe -p > out.txt

now look in out.txt for 
"Visual Studio Extensions for Windows Library for JavaScript"

uninstall any old version by 
msiexec /x {product code}
ex.
msiexec /x {D5FEB7A1-5D0F-4CDC-8290-F52DFB53AF23}

hope this help.