Mercurial did not boot in IIS 7 on Windows 2008

Trying to configure Mercurial on Windows 2008 using IIS 7. Following the instructions in the following links,

http://stackingcode.com/blog/2011/02/24/running-a-mercurial-server-on-iis-7-5-windows-server-2008-r2

http://www.jeremyskinner.co.uk/mercurial-on-iis7/

After setting up, when I try to load the hgweb.cgi page, I get a "DLL loading error" error all the time. The full text of the error message is shown below.

From this error it is quite difficult to find out which DLL is missing. I tried to find the missing dll but failed. Does anyone have the same problem? What is the missing dll?

I am using Murcurial 2.0 and python 2.6 with a precompiled installer. Tried installing both x86 and x64, still has the same problem.

HTTP Error 502.2 - Bad Gateway Specified CGI Application
wrong without returning the full set of HTTP headers.
the headers he returns are "Traceback (last last call): File
"C: \ inetpub \ wwwroot \ hg \ hgweb.cgi", line 24, in the appendix =
hgweb (config) File "mercurial \ hgweb__init __. pyc", line 26, in hgweb
File "mercurial \ hgweb \ hgwebdir_mod.pyc", line 89, in init File
"mercurial \ hgweb \ hgwebdir_mod.pyc", line 98, in the update File
"mercurial \ ui.pyc", line 43, in the init file
"mercurial \ demandimport.pyc", line 86, in the getattribute file
"mercurial \ demandimport.pyc", line 58, in the _load file

"mercurial \ scmutil.pyc", line 164, in the file
"mercurial \ scmutil.pyc", line 180, in the opening File
"mercurial \ demandimport.pyc", line 86, in the getattribute file
"mercurial \ demandimport.pyc", line 58, in the _load file

"mercurial \ util.pyc", line 27, in the file
"mercurial \ demandimport.pyc", line 86, in the getattribute file
"mercurial \ demandimport.pyc", line 58, in the _load file

"mercurial \ windows.pyc", line 13, in the file
"mercurial \ demandimport.pyc", line 86, in the getattribute file
"mercurial \ demandimport.pyc", line 58, in the _load file

"mercurial \ win32.pyc", line 11, in the file
"mercurial \ demandimport.pyc", line 86, in the getattribute file
"mercurial \ demandimport.pyc", line 58, in the _load file

"ctypes__init __. pyc", line 10, in the file
"mercurial \ demandimport.pyc", line 114, in the _demandimport file

"_ctypes.pyc", line 12, in the file "_ctypes.pyc", line 10, in
__load ImportError: Error loading DLL: the specified module was not found. ".

+4
source share

Source: https://habr.com/ru/post/1383386/


All Articles