VS Express 2013 for Web - Browser is security restricted or JavaScript is disabled

后端 未结 9 1949
时光取名叫无心
时光取名叫无心 2021-02-03 23:37

I initially installed the Microsoft Visual Studio Express 2013 for Web on my desktop. My desktop runs Windows 8.1 with internet explorer 11. It ran fine until the license expire

相关标签:
9条回答
  • 2021-02-03 23:38

    Here's what worked for me.

    Open Control Panel, Internet Options.

    First, I clicked the Security tab and turned security the security for the Internet zone to its minimum.

    Next, click the Privacy tab, then click Advanced. Choose "Accept" for both types of cookies.

    Of course you can change these all back after extending your VS trial.

    0 讨论(0)
  • 2021-02-03 23:39

    There are many sites you need to list in your Trusted Sites. Following the trace of what the stupid, stupid login script does:

    https://.visualstudio.com https://app.vssps.visualstudio.com https://.accesscontrol.windows.net https://auth.gfx.ms https://login.live.com

    Only then was I able to log on to my FREE software.

    0 讨论(0)
  • 2021-02-03 23:44

    you must change secure settings of iexplore for admin account. If logon by other account, you must start iexplore under admin account or logon under admin account, because you will get license after admin account.

    0 讨论(0)
  • 2021-02-03 23:45

    There is another issue people are running into that is a bug with the login dialog. The login dialog is using a Web Browser control to login the user. By default it loads up "about:blank" as the URI. It then proceeds to try to execute some JavaScript (just ";") to verify it has permissions to do so. On some machines this is problematic because "about:blank" has been mapped to zone 0, or the Local Machine zone. When the JavaScript is executed MSHTML will check the zone of the URI and then the policy for executing scripts. By default the Local Machine zone is locked down, and all script executions result in a Query policy. What this means is if you're running in immersion mode (aka in Internet Explorer) you will get a message box asking if you want to execute the script. However, the Web Browser control used by VS 2013's "Sign In" dialog doesn't run MSHTML code in immersion mode, so the Query policy effectively equates to a Disallow policy. The bug here is someone in VS assumed "about:blank" resolves to the Internet zone, and when it resolves to the Local Computer zone you get this behavior.

    The workaround is to remove "about:blank" zone mapping. Point regedit to this key:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains]

    Remove the "blank" key.

    Alternatively you can change the Local Machine Lockdown policy for executing scripts. The reg key for that is:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\0]

    Set the "1400" DWORD value to 0.

    0 讨论(0)
  • 2021-02-03 23:46

    Hi this is Albert from Microsoft. Just want to let you all know that this issue has been fixed in the upcoming Update 2 for Visual Studio 2013. Thanks for your patience while we figured this one out :)

    0 讨论(0)
  • 2021-02-03 23:51

    Same problem "Browser is security restricted or JavaScript is disabled" here but the solution from #jic didn't work for me..

    If you can and it is convenient for you this is a solution which worked for me:

    I have created a new user/profile on my PC and for this user it was just working fine.

    Before this action I have tried to make an user account which had this problem as:

    1. Power user - didn't work
    2. Administrator - didn't work as well

    So the last solution in my case was a brand new user on the PC..

    0 讨论(0)
提交回复
热议问题