Deploying Asp.Net Sites to IIS7 from Visual Studio

An entry about asp.net | visual studio Publication date 29. March 2008 12:02

To be able to deploy Asp.Net sites to IIS7 from Visual Studio 2008 when running on Windows Vista, there's a couple of things that needs to be set up first. Aside from the fact that you need to be running Visual Studio as an administrator (either by choosing 'run as Administrator' when launching it, or by disabling the UAC), there are a few IIS6 compatibility features that needs to be installed. These can be found by going to Control Panel > Programs > Turn Windows features on or off, and ensuring that the following are checked:

Windows features

With that in place, you can go to the Web tab on the properties page for your ASP.NET project and select 'Use IIS web server' instead of the built-in development server, just like we're used to:

Asp.Net project server settings

Currently rated 3.7 by 3 people

  • Currently 3.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Powered by BlogEngine.NET 1.4.5.0

Welcome!

My name is Fredrik Kalseth, and this is my blog - thanks for visiting! I am fortunate enough to work with what I love for a living, and this blog is essentially the biproduct of that.

I work as a senior consultant for Capgemini, and am also an active participant in the Norwegian .NET community, as an avid attendee but also as a speaker (most recently at NNUG and MSDN Live).

As a developer, I have a wide circle of interest. My primary passion is for agile, test-driven development, with focus on best practices and clean code. That said, I also love to work on the frontend, especially with web development.

On Twitter? My handle is fkalseth. On LinkedIn? I`m there too.

NDC 2010

The conference to attend this summer happens June 16th-18th in Oslo, Norway. Are you going? Be sure to catch my talk on AOP while you're there!

 

Disclaimer

This is a personal blog; any opinions expressed here are my own and do not necessarily reflect those of my employer. All content herein is my own original creation, and as such is protected by copyright law. Unless otherwise stated, all source code posted on this blog is freely usable under the Microsoft Permissive License.

What Readers Talk About

Comment RSS