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

1.2k views Asked by At

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
2

There are 2 answers

0
Brook On BEST ANSWER

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.

2
nbevans On

I would recommend dropping the ISAPI and try going down the CGI route. That's what we did - and it has been working flawlessly. It's not like the performance difference is going to be noticeable anyway.

Useful links: