Unrecognized element folderlevelbuildproviders RRS feed

  • Question

  • User1528291848 posted

    I have created a new web site in IIS7.
    When the site was created it created an associated application pool.
    I have set the application pool .net framework version to be version 4.0.
    The web.config for the web site has targetFramework="4.0".

    When I try to view the site I see an "500 - Internal server error."
    When I double click the .net Compilation icon for the site in the IIS manager,
    I see the infamous "Unrecognized element 'folderLevelBuildProviders' ".

    There are many posts on this. Following those I have checked that:
    * the site really is associated with a .net 4.0 Application pool.
    * The .net version is not a beta. It is v4.0.30319.

    So everything looks fine. What else could be causing the
    Unrecognized element 'folderLevelBuildProviders' error?

    This is a Windows server 2008 R2 x64 system.

    Thursday, August 18, 2011 7:41 PM


  • User1528291848 posted
    Hi All,

    The answer was to run aspnet_regiis from the x64 installation folder.
    Odd that this didn't happen when .net framework 4 was installed.

    Anyway -its working now.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, August 22, 2011 1:55 PM