Install Microsoft.. NET Framework software development kit (SDK) or Visual Studio. net, the Internet Information Service (IIS) ing is created for ASP.. net. If you install the SDK or Visual Studio
Program If IIS is not installed, or you uninstall and reinstall IIS after running the SDK or Visual Studio installation program, these settings are incorrect. An error occurred while trying to view the ASP. NET page.
When you try to create an ASP. NET web application in Visual Studio. NET 2003, you will receive the following error message:
Visual Studio. NET has detected that the specified web server is not running ASP. Net version 1.1.you will be unable to run ASP. NET web applications or services.
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. |
type the following command at the command prompt and press Enter:
"% WinDir % \ Microsoft. net \ framework \ version \ aspnet_regiis.exe "-I
in this path, version indicates the version installed on the server.. NET Framework. When you type this command, you must replace this placeholder with the actual version number. |
|
| 2. |
Register aspnet_isapi.dll:
| A. |
Click Start, and then click Run ". |
| B. |
In the open text box, type the following and press Enter:
Regsvr32 % WinDir % \ Microsoft. NET \ framework \Version\ Aspnet_isapi.dll
Regsvr32 returns the registration result. |
|
This article is transferred from msdn: How to fix IIS ing after you delete and reinstall IIS