Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
How to repair IIS mapping after you remove and reinstall IIS
| Article ID | : | 306005 |
| Last Review | : | December 3, 2007 |
| Revision | : | 7.7 |
This article was previously published under Q306005
SUMMARY
After you install the Microsoft .NET Framework Software
Development Kit (SDK), Microsoft Visual Studio .NET 2002, Visual Studio .NET 2003, or Visual Studio 2005, Microsoft Internet Information Service (IIS)
mappings are created to associate the new file extensions and settings for ASP.NET.
If you did not have IIS installed when you ran the SDK or Visual Studio Setup,
or if you uninstalled and reinstalled IIS after you ran the SDK or Visual
Studio Setup, those settings will not be in place. You experience unexpected
behavior when you try to view ASP.NET pages.
When you try to
create a new ASP.NET Web application in Visual Studio .NET 2003, you 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.
Back to the top
MORE INFORMATION
To fix IIS mappings for
ASP.NET, run the Aspnet_regiis.exe utility:
| 1. | Click Start, and then click
Run. |
| 2. | In the Open text box, type cmd, and then press ENTER. |
| 3. | At the command prompt, type
the following, and then press ENTER: "%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i In this path, version represents the version number of the .NET Framework that you
installed on your server. You must replace this placeholder with the actual
version number when you type the command. |
Back to the top
REFERENCES
For more information about the Aspnet_regiis.exe utility, run
this .exe file with
-? as an argument.
For a description of the symptoms that are typically
related to ASP.NET and IIS application mappings that are not configured
properly, click the following article number to view the article in the Microsoft Knowledge Base:
325093 (http://kbalertz.com/Feedback.aspx?kbNumber=325093/) ASP.NET pages exhibit unexpected behavior because the server-side code is not processed
Back to the top
APPLIES TO
| • | Microsoft ASP.NET 2.0 |
| • | Microsoft ASP.NET 1.1 |
| • | Microsoft ASP.NET (included with the .NET Framework) 1.0 |
| • | Microsoft Visual Studio .NET 2003 Enterprise Architect |
| • | Microsoft Visual Studio .NET 2003 Enterprise Developer |
| • | Microsoft Visual Studio .NET 2003 Academic Edition |
| • | Microsoft Visual Studio .NET 2002 Professional Edition |
| • | Microsoft Visual Studio .NET 2002 Enterprise Architect |
| • | Microsoft Visual Studio .NET 2002 Enterprise Developer |
| • | Microsoft Visual Studio .NET 2002 Academic Edition |
| • | Microsoft Internet Information Services 6.0 |
| • | Microsoft Internet Information Services 5.1 |
| • | Microsoft Internet Information Services 5.0 |
| • | Microsoft Visual Studio 2005 Standard Edition |
| • | Microsoft Visual Studio 2005 Professional Edition |
Back to the top
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please