I managed to start Django using IIS as a web server (using PyISAPIe ), and everything works fine on my test server, installing Windows 2008 Server R2 64bit.
Then I installed the application on another server with the same configuration and works fine for the first request. Then, when I reload the page, I get the page "Service is not working."
In the event log, I see an application error saying that python26.dll has some problems:
Faulting application name: w3wp.exe Faulting module name: python26.dll Exception code: 0x40000015 Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe Faulting module path: C:\Windows\system32\python26.dll
Can you give me some hint on how to solve this problem?
UPDATE : "Faster crash protection" in the advanced settings of the application pool was set to 5 failures; turning it off, everything works well.
So now the question is: how can I detect what caused the errors?
UPDATE I found that IIS crashes when there are multiple requests (img, css, js). PyISAPIe is called for each of them, passing them to the static server after it is recognized. I don’t know why this is happening ...
source share