Reply to comment
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.
Reply
Popular Articles
Last viewed:
- Clustered Index vs. Non-Clustered Index in SQL Server
- Getting Started with Microsoft Chart Controls for ASP.NET 3.5
- GridView ObjectDataSource LINQ Paging and Sorting
- Data Access Layer using SqlDataReader and C#
- Disable Button on Submit (Prevent multiple submits)
- Fixing Relative Paths in C# ASP.NET When Using Url Rewriting

Recent comments
14 hours 26 min ago
1 day 14 hours ago
3 days 15 hours ago
4 days 4 hours ago
4 days 15 hours ago
4 days 21 hours ago
5 days 1 hour ago
1 week 22 hours ago
1 week 1 day ago
1 week 4 days ago