Whilst testing a clean installation of Win2K3 Server with IIS, SQL server 2005 and VS 2005 I tried to create a new ASP.NET project in IIS and got the following error:
---------------------------
Microsoft Visual Studio
---------------------------
Configuring web site 'http://localhost/WebSite' to ASP.NET 2.0 failed. You may need to manually configure this site for ASP.NET 2.0 in order for your site to run correctly.
---------------------------
OK Help
---------------------------
The problem is that ASP.NET extensions are prohibited from running on your computer by default. This is part of Microsoft's drive towards security by default (i.e out of the box). However it is easy to enable it by following these steps if you are working on Windows Server 2003
1. Open IIS Manager (open Run dialog from Start Menu and type 'inetmgr' in Start Edit Combo Box).
2. In the IIS manager window, expand the Local Computer node.
3. Click on Web Service Extensions node.
4. Allow "Active Server Pages" and "ASP .net v2.0.xxxxx".
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment