Set ASP.NET version to 3.5 in the IIS 6 Default Web site properties (ASP.NET tab)

坚强是说给别人听的谎言 提交于 2019-12-20 03:48:08

问题


How to set ASP.NET version to 3.5 in the IIS 6 Default Web site properties (ASP.NET tab)? From what I can see was version 2 (even though I have install version .NET 3.5)


回答1:


You cannot specify this in IIS. For websites earlier than Framework 4.0 and greater than 2.0 you need to specify version 2.0 in IIS.

However there are configurations in web.config to restrict a website to run or compile under framework version 3.5. Visual Studio by default make these setting in web.config

To be sure here are some parts of the web.config





回答2:


There isn't a true "ASP.NET 3.5". "ASP.NET 3.5" is really "ASP.NET 2.0" plus some extra assemblies.



来源:https://stackoverflow.com/questions/7551034/set-asp-net-version-to-3-5-in-the-iis-6-default-web-site-properties-asp-net-tab

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!