Enable ASP.NET in IIS 7 for Windows Vista
By default, IIS 7 does not have ASP.NET enabled on Windows Vista. So you can run basic static HTML websites on the the local IIS server but that's about it.
If you try to run an ASP.NET application without doing this, you will probably see a message like this:
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Here are the steps that need to be performed to enable ASP.NET in IIS 7 on Vista:
* NOTE: You must already have .NET 3.0 or higher installed before any of these steps can be performed.
(This is all from the perspective of using the Vista control panel, not Classic View)
Go to Control Panel -> Programs -> Programs and Features
On the left panel, you will see an option for Turn Windows features on or off
On the feature box, tree open the Internet Information Services node and then tree open World Wide Web Services -> Application Development Features.
Make sure ASP.NET is checked.
Tree open the World Wide Web Services -> Security node and make sure:
Basic Authentication and Windows Authentication are both checked.
Click OK and it will take several minutes while things are configured. Now, when you open back up IIS 7, you will see several more options to manage your .NET configuration problems.
Popular Articles
Last viewed:
- How to Highlight the Day in the ASP.NET Calendar Control with the SelectedDate Property
- Web.config Settings Editor Control
- SQL Server Log File (AKA LDF file) is huge - reduce size
- Windows Server 2003 Configure RRAS (Routing and Remote Access Service) Site to Site VPN
- System.Web.UI.Page find a control by type
- Dell Inspiron Mini 9 Upgrade RAM
Similar
- Fixing Relative Paths in C# ASP.NET When Using Url Rewriting
- Global.asax Events in IIS 6 and IIS 7 for Static Resources
- Getting Started with .NET Entity Framework
- Changing the Application Pool Identity with Windows Server 2008 and IIS 7
- How to Highlight the Day in the ASP.NET Calendar Control with the SelectedDate Property

Recent comments
8 hours 36 min ago
23 hours 29 min ago
3 days 11 hours ago
4 days 11 hours ago
6 days 12 hours ago
1 week 1 hour ago
1 week 12 hours ago
1 week 18 hours ago
1 week 22 hours ago
1 week 3 days ago