Mercurial CGI (hgweb.cgi) fails

自闭症网瘾萝莉.ら 提交于 2019-11-30 13:14:00
Alexander Kuznetsov

I had the same error using following system configuration

  • Python-2.6.6 installed as msi
  • mercurial-1.8.2-x86 installed as msi
  • IIS7

I solved this problem simply:

  1. Python has been installed early
  2. Uninstall Mercurial msi package
  3. Download and install "Mercurial-1.8.2 (32-bit py2.6)" installer from mercurial website which is marked as "This is recommended for hgweb setups".
  4. copyed content of C:\Python26\Lib\site-packages\mercurial\ to the directory used in IIS7 website setup.

Till now all is working. Hope this will help.

Whenever I have less than descriptive error messages that tell me something is going on at the system level but not what, I use Sysinternals' Procmon to tell me what's going with the registry and filesystem. It's verbose, and getting the filter to show just the process of interest takes some learning, but you can export the results to Excel and skim them for suspicious-looking results. Pay particular attention to failures, of course.

Give it a try and see what DLL is being searched for.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!