Using Visual Studio 2005 with IIS 7.0

I've blogged quite a bit about using Visual Studio to develop and debug IIS 7.0 applications in the past. A few weeks back, I put together a detailed article about using Visual Studio 2008 to work with IIS 7.0 applications, collecting all the various how-to and gotchas in one place.

Now, you can find the same information for Visual Studio 2005, in a new article titled Using Visual Studio 2005 with IIS 7.0.

The article talks about:

- Installing necessary IIS 7.0 components on your Windows Vista or Windows Server 2008 server to be used with Visual Studio 2005.

- Using the different Visual Studio web application project models with IIS 7.0 applications

- Connecting to remote IIS 7.0 applications

- Debugging local and remote IIS 7.0 applications

Visual Studio 2008 fixes a number of issues that affect Visual Studio when working with IIS 7.0, making it easier to go about your work. You can find the same level of detail on using VS 2008 in my other article,  Using Visual Studio 2008 with IIS 7.0.

Just for reference, here are some of the Visual Studio related posts I've done in the past that are all included (to various degrees) in the article:

Using Visual Studio 2005 with IIS 7.0
Using Visual Studio 2008 with IIS 7.0
Debugging IIS 7.0 Web applications remotely with Visual Studio 2008
Fix problems with Visual Studio F5 debugging of ASP.NET applications on IIS7 Vista

As always, if you hit any issues, let me know by leaving a comment. 

Thanks,

Mike

  

.

Published 04 April 08 12:05 by Mike Volodarsky

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MVolo's Blog said on April 4, 2008 12:18 PM:

A few weeks back, I put together a detailed article about using Visual Studio 2008 to work with IIS 7

# Chris said on April 14, 2008 3:16 PM:

I went through all your listed steps to get VS2005 to debug on IIS7/Vista and was successful with normal ASP.NET web applications but NOT with applications using the AJAX extensions.

I tried what some other users recommended and switched IIS to use the classic app pool, but still got the error.

I am running Vista Home Premium using VS2005 SP1 and the Vista VS2005 SP1 update and I also have installed your hotfix for eliminating the need for Windows Authentication. Yet I still can't overcome this AJAX error. If I remove the AJAX specific content from the web.config it will work, but I need to use AJAX for my project.

Any ideas?

# Chris said on April 18, 2008 12:19 PM:
OK, I wiped my hard drive and installed Vista Ultimate, hoping this would let me get around the problem listed in my comment above. But I'm still getting an error. Quite simply, this seems to be a MAJOR problem with IIS 7! How can Vista not support debugging VS2005 projects WITH AJAX using IIS 7? The specific error message is quite basic: "Error: The web server is not configured correctly" I have Windows authentication enabled, running as administrator, and tried switching to the classic application pool. Still no luck. PLEASE! Any help, otherwise I have to go back to using WinXP and IIS 6. Thanks, Chris
# Rupak Ganguly said on May 6, 2008 9:38 AM:
I had other issues with Vista SP1, VS 2005 and IIS 7 and I have written a post here http://developershelf.blogspot.com/2008/05/problem-loading-iis7-hosted-wap.html
# ndutron said on August 11, 2008 6:12 AM:
I`ve read a number of programming articles and and they discourage programmers to use vb. i am quite concerned because I am a programming student and at my university we use vb as our programming language.
# ndutron said on August 11, 2008 6:14 AM:
I`ve read a number of programming articles and and they discourage programmers to use vb. i am quite concerned because I am a programming student and at my university we use vb as our programming language.

Leave a Comment

(required) 
(optional)
(required) 
Enter the code you see below


About Mike Volodarsky

For the past 5 years, I was the core Program Manager for Microsoft ASP.NET 2.0 and IIS 7.0 products. I drove the design and development of the IIS 7.0 web server core, the IIS FastCGI support, the AppCmd command line tool, the ASP.NET Integrated pipeline, and other special projects around server security, performance, and scalability. Now, I am working on my own on cutting edge web server tech on top of the Microsoft IIS platform, and continue blogging about it here.

About me



For the past 5 years, I was the core server Program Manager for the IIS 7.0 and ASP.NET 2.0 products at Microsoft.
Now, I work on advanced web server tech using IIS 7.0, .NET, and Windows Server 2008 and write about it in this blog.

View Michael Volodarsky's profile on LinkedIn

Writings



TechNet Magazine
>Top 10 Performance Improvements in IIS 7.0

MSDN Magazine
>IIS 7.0: Build Web Server Solutions with End-To-End Extensibility
>IIS 7.0: Enhance Your Apps with the Integrated ASP.NET Pipeline
>IIS 7.0: Explore The Web Server For Windows Vista And Beyond
>Design and Deploy Secure Web Apps with ASP.NET 2.0 and IIS 6.0
>Fast, Scalable, and Secure Session State Management for Your Web Applications


Tools and Modules

LeechGuard
IconHandler 2.0
DirectoryListing
HttpRedirection
IIS Auth for Wordpress
iisschema.exe
PortCheck.exe v2.0

Popular Posts

- ASP.NET 2.0 Breaking Changes on IIS 7.0
- Develop IIS7 modules and handlers with .NET
- Troubleshoot IIS7 errors like a pro
- Troubleshooting 503 / "service unavailable" errors
- Troubleshooting "server not found" errors
- Create IIS7 sites, applications, and virtual directories
- Run Ruby on Rails with IIS FastCGI
- VS Debugging of ASP.NET applications on Windows Vista
- Stop hot-linking with IIS and ASP.NET

Tags

Search

Go

This Blog

Archives

Good IIS Blogs

Disclaimer

These postings are provided as is with no warranties, and confer no rights. The views expressed in this blog are entirely my own.

Syndication