In general, configuring the IIS development environment has the following steps:
The first step is to install VS2010 or vs013 (or a higher version);
The second step, add the IIS function in the computer (how to add the function, Baidu can be a bit);
Step three, right-click My Computer-"manage-" services and applications-Internet services Information (IIS) Manager
Create a new Web site, or in the current Defualt Web add Program ..... Wait a minute
However, there are few problems with the PC test vs2010, and the chances of vs1013 having the following problems are very high.
HTTP Error 500.21-internal Server error
Such as:
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/82/6F/wKioL1dVM8eCuAJJAAO8vIXEZao170.png "title=" 1341378293_5564.png "alt=" wkiol1dvm8ecuajjaao8vixezao170.png "/> Processing method:
If the computer exists aspnet_regiis.exe, do the following:
Run as Administrator , command Prompt , and enter the following code:
%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe-i
If the above method is unsuccessful, perform the following steps:
(1). Start, All Programs, Microsoft Visual Studio, Visual Studio Tools, VS2012 x64 compatible tools command prompt
(2). Enter the following command successively:
Cd\windows\microsoft.net\framework64\v4.0.30319\setupcache
Enter
Setup.exe/repair/x86/x64/ia64/norestart
Enter
The. Net Framework Repair Boot interface appears, select Repair. After it is repaired, restart IIS. It's OK.
Win+r, and then execute the "iisreset" command.
2. If the computer does not exist aspnet_regiis.exe, perform the following methods:
Uninstall the framework, reinstall, and then restart
This article is from "Uncle Wei Xiaobao" blog, please be sure to keep this source http://darmi.blog.51cto.com/11607923/1786629
HTTP error 500.21-internal Server error pagehandlerfactory-integrated