IIS6下一定要安装 asp.net3.5才可以运行 mvc吗? RRS feed

  • 问题

  • 按照微软官网的配置后, IIS7经典模式下可用,但是IIS6(with .net 2.0)就出错了

    怎么解决?一定要安装 framework 3.5吗?

    Server Error in '/' Application.

    Configuration Error 
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

    Parser Error Message: Child nodes not allowed.

    Source Error: 

    Line 113: <compilers>
    Line 114: <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    Line 115: <providerOption name="CompilerVersion" value="v3.5" />
    Line 116: <providerOption name="WarnAsError" value="false" />
    Line 117: </compiler>

    Source File: C:\Inetpub\wwwroot\MVCDemo\web.config    Line: 115 

    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 
    2009年12月27日 13:24