Microsoft.. NET Framework software development kit (SDK) or Visual Studio. NET, the Internet Information Service (IIS) ing is created for ASP.. NET. If IIS is not installed when you run the SDK or Visual Studio installer, Or you uninstall and reinstall IIS after running the SDK or Visual Studio installer, these settings are incorrect. An error occurred while trying to view the ASP. NET page.
This includes the installation sequence of Visual Studio and iis. That is to say, if you install iis after installing Visual Studio 2005 or uninstall iis again
The ing between iis and Asp.net will be lost, that is, the iis does not exist or does not support asp.net.
In this way, when Visual Studio. net2005 is enabled to write an Asp.net application, Visual Studio. net2005 prompts that my Asp.net is not version 2.0 and the asp.net configuration cannot be found in iis.
Solution:
To fix IIS ing for ASP. NET, follow these steps:
1. Run the Aspnet_regiis.exe utility:
A. Click start and then click Run ".
B. In the open box, type cmd and press Enter.
C. Enter the following command at the command prompt and press Enter: "% windir % \ Microsoft. NET \ Framework \ version \ aspnet_regiis.exe"-I
In this path, the version indicates the. NET Framework version installed on the server. When you type this command, you must replace this placeholder with the actual version number.