locked
Visual Studio 2013 - BrowserLink - Not Running/Working RRS feed

  • Question

  • User326861377 posted

    When I load my site, I get a "connection refused" to the browserLink URL. I've done the following steps to figure out what's wrong:

    • Same project works fine on other machines
    • The site itself works (on a different port)
    • vs:EnableBrowserLink is absent from web.config
    • Browser LInk is enabled
    • debug is set to true
    • The <!-- Visual Studio Browser Link --> portion is rendered in the page, thus confirming (even more so) that the browser link is enabled.
    • Read every article on how to use Browser Link - none detail what happens if the connection to the script is refused
    • Same exact problem on all browsers
    • Same exact problem on all web projects (I've tried several, even fresh 'vanilla' one)
    • Restarting VS, computer, doesn't fix
    • Running VS as admin doesn't fix
    • Running in Safe Mode doesn't fix
    • Disabling (and even uninstalling) all VS extensions doesn't work
    • Running 'repair' on VS also does not work
    • The port that it's attempting to reach (in my example, 27244) does not show up at any of the IP addresses in netstat -aon
      • To me this means it fails to start
    • Firewall (even the corp one) is not blocking any of these ports
    • Procmon and Procexplorer reveal nothing I can understand to be as to why VS is not starting the SignalR process(es).
    • A brand-new project w/ SignalR from NuGet works fine - there must be something different on how VS uses it interally

    None of these work, or reveal any more information as to why browserLink doesn't work - it's very interesting that the port isn't even listed in the netstat command. That tells me that something isn't started, failed to start, or started but isn't running...

    Again, the same project (from source control) works perfectly fine on another developer's computer -- what could be wrong with my Visual Stuido?

    Thursday, February 4, 2016 9:47 PM

Answers

  • User-166373564 posted

    Hi,

    I even uninstalled and reinstalled VS completely. No better. Very frustrating!

    Again, the same project (from source control) works perfectly fine on another developer's computer -- what could be wrong with my Visual Stuido?

    If it still has same issue after you uninstall and reinstall VS again, I doubt that there is something wrong with OS, or you need get the latest VS updates.

    You could consider consulting Windows experts in TechNet Windows forum, or getting the latest VS updates.

    Best regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 23, 2016 6:14 AM

All replies

  • User326861377 posted

    I even uninstalled and reinstalled VS completely. No better. Very frustrating!

    Friday, February 5, 2016 4:58 PM
  • User-166373564 posted

    Hi,

    Thanks for your feedback in asp.net forum.

    Browser Link is enabled by default. From your description above, here are several ways to disable it,  and check whether it still has same issue.

    • In the Browser Link dropdown menu, uncheck Enable Browser Link.     

    • In the Web.config file, add a key named “vs:EnableBrowserLink” with the value “false” in the appSettings section.      
      <appSettings>
        <add key="vs:EnableBrowserLink" value="false"/>
      </appSettings>
            
    • In the Web.config file, set debug to false.
      <system.web>
        <compilation debug="false" targetFramework="4.5" />
      </system.web>

    Regards,

    Angie

    Friday, February 12, 2016 5:19 AM
  • User326861377 posted

    Sorry for not being clear: I want Browser Link to work, not to turn it off.

    However, it does not work, even when enabled.

    Saturday, February 20, 2016 1:14 AM
  • User-166373564 posted

    Hi,

    I even uninstalled and reinstalled VS completely. No better. Very frustrating!

    Again, the same project (from source control) works perfectly fine on another developer's computer -- what could be wrong with my Visual Stuido?

    If it still has same issue after you uninstall and reinstall VS again, I doubt that there is something wrong with OS, or you need get the latest VS updates.

    You could consider consulting Windows experts in TechNet Windows forum, or getting the latest VS updates.

    Best regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 23, 2016 6:14 AM