How to fix compatibility mode error that can appear when installing Windows Phone developer tools or

Source: Internet
Author: User

I have heard from a few people who tried to install the final release of the Windows Phone developer tools but get an installation error like the following:

Visual Studio Setup cannot run in compatibility mode.
For more information see the 'installing' section in the Visual Studio readme at http://go.microsoft.com/fwlink? Linkid = 143397.

The link in the error message points to the Visual Studio 2010 readme because this issue can affect all editions of Visual Studio 2010, including wpdt. item 2.1.10 in that readme provides a workaround for this issue. in my past experience, that workaround has proven to be incomplete though, so here are some updated steps that usually help solve this type of error:

    1. click on the Start Menu, choose run, type regedit and click OK.
    2. browse to each of the following keys and delete any value that refers to the wpdt setup program (named vm_web.exe ):

      HKEY_CURRENT_USER \ Software \ Microsoft \ Windows NT \ CurrentVersion \ appcompatflags \ compatibility assistant \ persisted
      HKEY_CURRENT_USER \ Software \ Microsoft \ Windows NT \ CurrentVersion \ appcompatflags \ Layers
      HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ appcompatflags \ compatibility assistant \ persisted
      HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ appcompatflags \ Layers

      / LI>

If the above doesn't help, then you can also try to save vm_web.exe to your computer and run it from there. when compatibility mode is triggered by Windows, it is based on a full path to the setup executable, so if you save it to a different location than you previusly tried to run it from and then run it again, that can help avoid triggering compatibility mode.

 

Original article: http://blogs.msdn.com/ B /astebner/archive/2010/09/17/10064318.aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.