IIS 5 & IIS 6
IsapiModule. HTTP Error 500.0 Error Code: 0x8007007e
Last post Sep 06, 2017 03:19 AM by Yuk Ding
Aug 24, 2017 12:51 PM|PeterJ12|LINK
I'm trying tu deploy Pyhon WSGI application using ISAPI-WSGI.
Windows server 2012 R2 Standard 64-bit
IIS version 6.2 with .NET, ASP.NET ISAPI extensions , ISAPI filters installed.
Steps I did:
I ran python code for publishing wsgi app: https://github.com/hexdump42/isapi-wsgi/blob/master/examples/demo.py
It made new application in IIS and created .dll. I've checked that Hander mappings point to created .dll.
I checked that new .dll has permissions for IIS _IUSRS
I made application pool with 32-bit Applications enabled (otherwise error 500 with code 0x800700c1 appeared)
Now I'm getting folloving error:
I tried to trace error but it did not give me any idea how to workaround the error.
Please can someone give me some hints?
Thanks in advance
Aug 25, 2017 05:48 AM|Yuk Ding|LINK
The error message looks like an 500.19 error. 0x8007007e means
ERROR_MOD_NOT_FOUND - The specified module could not be found. Please ensure the specific module has been imported and has been displayed in applicationhost.config.
Sometimes, the error is caused by dynamic compression, so you could try to disable the dynamic compression or take the steps in following links:
Of course, you could use process monitor to check whether there is an permission issue in worker process.
Aug 25, 2017 12:15 PM|PeterJ12|LINK
Hi Yuk Ding
Thank you for your response.
I' ve double checked applicationhost.config and everything seems to be fine.
For the second suggestion. I don't have schemename 'xpress' at all:
C:\Users\Administrator>%windir%\system32\inetsrv\appcmd.exe list config -section:system.webServer/httpCompression
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<add mimeType="text/*" enabled="true" />
<add mimeType="message/*" enabled="true" />
<add mimeType="application/atom+xml" enabled="true" />
<add mimeType="application/xaml+xml" enabled="true" />
<add mimeType="*/*" enabled="false" />
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
So command %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress'] as is suggested in previous threads will not work.
I have also tried to run command: dir %windir%\syswow64\inetsrv\gzip.dll:
Directory of C:\Windows\syswow64\inetsrv
08/25/2017 09:53 AM 27,136 gzip.dll
1 File(s) 27,136 bytes
0 Dir(s) 27,683,934,208 bytes free
If you compare two outputs of commands could be the problem here?
Aug 30, 2017 07:38 AM|Yuk Ding|LINK
Have you checked this link:
Did you enable the 32-bit application? Please check whether you have 64-bit module with "precondition= "64bitness".
Sep 01, 2017 08:12 AM|PeterJ12|LINK
Hi Yuk Ding,
Yes, I've read the article, but nothing worked for me.
I have 32-bit application enabled, otherwise it gives me error 500 with code 0x800700c1.
I have tried to put precondition = "64bitness" to my IsapiModule and it didn't help me also.
Thank you for suggestions,
Sep 06, 2017 03:19 AM|Yuk Ding|LINK
Have you tried to install CGI and configured the PHP for IIS?
In addition, have you tried the classic mode application pool? Now that it is not caused by IIS dynamic compression, there should have something wrong with the handler mapping.