We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Unrecognized element folderlevelbuildproviders [Answered]RSS

1 reply

Last post Aug 22, 2011 01:55 PM by glt101

  • Unrecognized element folderlevelbuildproviders

    Aug 18, 2011 07:41 PM|glt101|LINK


    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.

  • Re: Unrecognized element folderlevelbuildproviders

    Aug 22, 2011 01:55 PM|glt101|LINK

    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.