r0b0tz
music, art, parties, technology, code

I installed VS2010 Beta 2 today… after uninstalling Beta 1 — to do which I had to remove the TFS Object Model package FIRST, due to an error I was getting about a missing “tfsobjectmodel-amd64_enu.exe”

Everything installed OK,  until the end when I tried to install the help files… I got the error:

“MSHelpListener.exe has stopped working”

Apparently, it tries to bind to port 80, which in my case is already bound to by Skype.

Here’s the details / fix from the Help Listener documentation:

If port 80 is used by another process (not via the http.sys service) then the Help listener will not be able to attach and use port 80 and will fail.  The port number can be changed by adding a string registry value ListenerPort under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Help3 with the value of the port to use (eg. 81).  Due to the http.sys ACL settings it is necessary to run the following http.sys configuration command from an admin elevated command line.  On Vista, Win2k8, and Windows 7 run the following native command:
netsh http add urlacl url=http://127.0.0.1:<port number>/help/ sddl=D:(A;;GX;;;WD)

On Windows Xp, and Win2K3 run the following command:

httpcfg set urlacl /u http://127.0.0.1:<port number>/help/ /a D:(A;;GX;;;WD)

If the command is not found then it might be necessary to download the httpcfg.exe from Microsoft as part of the Windows XP Service Pack 2 support Tools (http://www.microsoft.com/downloads/details.aspx?amp;displaylang=en&familyid=49ae8576-9bb9-4126-9761-ba8011fabf38&displaylang=en).

Now the Microsoft Help Listener will run on the selected port number.



Leave a comment or two

This entry was posted on Thursday, October 22nd, 2009 at 9:17 pm and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


5 Comments so far



  1. Crash when trying to open VS2010 Beta 2 Help: MSHelpListener.exe has stopped working « Jack Ukleja on October 24, 2009 5:30 am

    [...] bug logged for this here. Update 2: “R0b0tz” has got the workaround for this on his blog. As always it pays to RTFM It’s still definitely a bug [...]

  2. toby on November 6, 2009 1:29 am

    I tried it i still get the page not found error in firefox, i moved it to port 82

  3. Tim Rowe on November 18, 2009 5:16 pm

    I still can’t get help to work — it crashes with an unhandled exception in mshelplistener, seemingly whatever I set the port to. Unfortunately I don’t know how to find out what’s on port 80 in XP. I now can’t get help at all, which I think is a killer for VS2010. Looks as if I’ll be giving up on it.

  4. lawrencealan on November 18, 2009 6:05 pm

    @Tim: Did you check out your Application Log? You should be able to find more information there…

  5. mbentley on February 1, 2010 6:33 pm

    Are you kidding? Who the heck thought that it was a good idea to assume that they could take over port 80 for help? Since I am running my development tools on a development machine of course I do all kinds of things on that port (like test development code on Cassini and Apache).

    I don’t want to run another website, I just want to access the help files. This seems like a pretty bone headed decision on someone’s part.

Name (required)

Email (required)

Website

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Feel free to leave a comment

Log in