Search code examples
pythoniismercurialsql-server-2008-r2hgweb

Unable to get Mercurial's hgweb.cgi working on IIS7


I have been using this guide http://tinyurl.com/mercurial-iis to attempt to setup Mercurial on IIS 7. I have followed every step however when I try to access the site I get the following error:

Error Summary

HTTP Error 500.0 - Internal Server Error There is a problem with the resource you are looking for, so it cannot be displayed.

Detailed Error Information

Module IsapiModule
Notification ExecuteRequestHandler
Handler Mercurial-ISAPI
Error Code 0x8007007e

Requested URL http://localhost:81/ Physical Path C:\inetpub\hg
Logon Method Anonymous
Logon User Anonymous

I am using the following setup:

  • Windows Server 2008 SP2 x64 OS
  • IIS7
  • Python 2.6.6 32bit
  • Mercurial 1.7.5 32bit
  • pywin32-215

Solution

  • 1.7.1+ changed a few things that aren't reflected in most of the links floating around. Try this tutorial that I posted a while back, it seems like a few people have been successful with it.