设置ASP.NET版本的IIS 6默认Web站点属性3.5(ASP.NET选项卡) [英] Set ASP.NET version to 3.5 in the IIS 6 Default Web site properties (ASP.NET tab)

查看:292
本文介绍了设置ASP.NET版本的IIS 6默认Web站点属性3.5(ASP.NET选项卡)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何ASP.NET版本设置为3.5的IIS 6默认Web站点属性(ASP.NET选项卡)?从我所看到的是版本2(即使我有安装版本的.NET 3.5)

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)

推荐答案

您不能在IIS中指定。对于早于框架4.0和大于2.0的网站,你需要在IIS中指定版本2.0。

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.

但也有在web.config中配置限制一个网站运行或框架3.5版编译下。 Visual Studio中作出缺席在web.config中这些设置的

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

要确保这里的web.config中的某些部分。

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

这篇关于设置ASP.NET版本的IIS 6默认Web站点属性3.5(ASP.NET选项卡)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆