Win7 the. NET Framework version settings for the IIS Web site

Source: Internet
Author: User

Today in VS2010 created a default WebApplication, anyway can not run in IIS, this iis7.5 made me a day to finish, in fact very simple is to change the version number.

First to build a website to try, release, and then set up the site in IIS, the establishment of the site's interface is very simple process is easy:

After the establishment of the operation incredibly error, said that there are problems in the web.config, and then show the current. NET Framework version is 2.0, think of it should be to select the 4.0 version. But looking for a long time also did not find where to modify the use of the frame version. I was so depressed that I was almost crushed. After one hours of groping finally solved the problem, the original site. NET version is no longer the same as before. Select settings in the ASP.net property page of the Site Properties dialog box, which is now set in the application pool, alas, this change is a dead man. In addition to selecting in the application pool when creating a new Web site, there are several other places to choose from.

The following four steps are more important ...

Set up the. NET Framework version when creating a Web site:

To set up the. NET Framework version for the application you have added

Iii. changing the IIS default. NET Framework version

Set up the. NET Framework version for application pools

It's finally done.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.