.NET 4 installation failing on Windows Server 2003 SP2 (Enterprise, x86) with "Cannot run in compatibility mode" RRS feed

All replies

  • You should read Figo Fei's answer and subsequent discussion in this thread:


    Your log confirms the blocking issue you cite in your title.

    You also can try this sequence if you wish:

    1. Download a fresh copy of the standalone installer for .NET Framework 4.0:


    2. Before running the installer, apply irarab's fix as follows:

    "I went to "C:\Windows\Microsoft.NET" there is a directory called "assembly".

    I looked in the directory and found some subdirectories with lots of old dot net 4 files. I renamed the directory assembly2 and tried to install Dot Net 4 and it worked!!!!

    (You can't delete the assembly directory unless you take ownership of it but you can rename it.)"

    Also, clear your %temp% directory and disable your AV software.

    The %temp% directory is a reference to the Temp folder associated with the current user. To clear it, do the following:

    Sign on to your system with the Administrator user account you will use to run the installer. Click the Start Orb and type %temp% in the search box. The search results will show the Temp folder you want. Click on the Temp folder to open it in Windows Explorer, then delete the entire contents.

    3. Run the standalone installer from step 1 As Administrator.

    Note: Just using an administrator account is NOT enough. To activate full privileges, you must right-click the installer, then select Run as administrator.

    If the install fails, provide complete install logs as follows:

    Please collect your install logs with this:


    After you run Collect.exe, you'll find vslogs.cab in your %temp% directory. Please upload vslogs.cab to a public site, like SkyDrive, and post the link here.

    Saturday, March 17, 2012 2:52 AM
  • Hi mabes,

    How's the issue going on on your side? If you got it solved, would you please share your solution with us?


    Helen Zhou [MSFT]
    MSDN Community Support | Feedback to us

    Monday, March 26, 2012 9:48 AM