Application pool in IIS 7 does not show .NET Framework 3.5

前端 未结 6 2160
走了就别回头了
走了就别回头了 2021-02-07 13:24

I\'ve .NET Framework 3.5 SP1 installed on my system. When I create a new application pool, I just see the .NET Framework V2.0.xxx. I\'ve a file that uses the ASP.NET MVC. It\'s

相关标签:
6条回答
  • 2021-02-07 13:51

    .NET 3.0 and .NET 3.5 are additions to .NET 2.0, the core runtime is still the same, so you will not see 3.5 in the application pool settings. The problem may lie elsewhere.

    You might try re-registering the 3.0 mappings though, by running servicemodelreg in the 3.0\Windows Communication Foundation directory, but that will only fix problems with WCF

    0 讨论(0)
  • I think rather confusingly it's referring to the .Net Runtime version, which for .Net 3.5 framework is still Runtime version 2.0.

    You can google for explanations for this but it's along the lines of.

    • .Net 2.0 Framework -- .Net 2.0 Runtime
    • .Net 3.0 Framework -- .Net 2.0 Runtime
    • .Net 3.5 Framework -- .Net 2.0 Runtime
    • .Net 3.5 Sp1 -- .Net 2.0 Runtime
    • .Net 4.0 Framework -- .Net 4.0 Runtime

    I've noticed that MVC sometimes has problems if it's not run using the "Integrated" Managed Pipeline Mode, so might want to try that.

    0 讨论(0)
  • 2021-02-07 13:55

    As was explained earlier, .NET 3.0 and 3.5 built on top of .NET 2.0, so there was no need for those choices. Now that .NET 4.0 is out, it does include an entry for ASP.NET 4.0 as it includes a new runtime.

    As such, your possible choices now include: 1.1.4322 (.NET 1.1) 2.0.50727 (.NET 2.0, 3.0, 3.5) 4.0.30319 (.NET 4.0)

    0 讨论(0)
  • 2021-02-07 14:09

    Not sure what exactly the question is, if you expecting framework 3.5 in IIS don't. The two frameworks in IIS are 1.1 and 2.0. So framework 3.5 will still only show 2.0 in IIS

    0 讨论(0)
  • 2021-02-07 14:12

    The question here is that after .NET Framework 2.0 all other versions of it were incremental, not a new implementation.

    That's why IIS reports only .NET 2.0.

    0 讨论(0)
  • 2021-02-07 14:13

    Scott Hanselman's ComputerZen.com - How to set an IIS Application or AppPool to use ASP.NET 3.5 rather than 2.0

    0 讨论(0)
提交回复
热议问题