Developing Web Applications on Windows Vista with Visual Studio 2005

Developing Web Applications on Windows Vista with Visual Studio 2005

  • Comments 30

Hey Web Developers -- My name is Bradley Millington and I am a Program Manager on the WebTools team.  Lately I've been looking at opportunities for future versions of Visual Studio to better integrate with Windows Vista and IIS 7.0.  In the meantime, however, you can use Visual Studio 2005 to start developing on Vista right away.  

Microsoft
Windows Vista RC1 is now available to the public (view the press release), and many Visual Studio 2005 web developers are eager to start building ASP.NET 2.0 applications running under Internet Information Services 7.0, which is included with the Vista operating system.  To build web apps under this environment, there are just a few steps you need to perform:

 

1.       First, you need to install the IIS 7.0 and ASP.NET 2.0 Windows components, since they are not automatically installed by default. Because Visual Studio 2005 uses the IIS metabase APIs to create and configure applications in IIS, you must also install a metabase compatibility component for IIS 7.0.  To do this, use the “Programs and Features” control panel in Vista, following the steps below.

 

To install IIS 7.0 and ASP.NET 2.0 on Windows Vista

1.       In Windows Vista, open Control Panel and then click Programs and Features.

In the right pane, click Turn Windows features on or off.
The
Windows Features
dialog box opens.



2.       Select the Internet Information Services check box.

3.       Double-click (or expand) Web Management Tools, double-click IIS 6 Management Compatibility, and then select the IIS 6 Metabase and IIS 6 Configuration Compatibility check box.

4.       Double-click (or expand) World Wide Web Services, double-click Application Development Features, and then select the ASP.NET check box.

Note   The related options that are necessary for Web application development will automatically be selected.

5.       Click OK to start the ASP.NET installation process.


  

2.      Second, you must run Visual Studio 2005 in the context of an administrator account before you can develop web applications on Windows Vista. By default, Windows runs applications in a limited-privilege user account even when you are logged on to the computer as an administrator.  To explicitly run Visual Studio as administrator, follow the steps below.

To run Visual Studio with administrative privileges in Windows Vista

1.       In Windows Vista, click Start, click All Programs, and then locate Visual Studio.

2.       Right-click Microsoft Visual Studio 2005, and then click Run as administrator.

One more note:  If you happen to use SQL Server Express for database development, you'll also need to download and install SQL Server Express SP1, which contains updates required to run on Vista.

Enjoy developing on Vista and be sure to let us know what you think of IIS 7.0!

--Bradley

 

  • Bradley Millington just made a great blog post about using IIS7 RC1 with VS2005. http://blogs.msdn.com/webdevtools/archive/2006/09/18/761206.asp
  • I've been using the free version of Visual Studio for web development - Visual Web Developer Express
  • Good to know that
  • Thanks!
  • I've been using the free version of Visual Studio for web development - Visual Web Developer Express
  • A few people have pinged me over the last week asking about how to use VS 2005 with an IIS 7.0 web-site
  • Could you tell me,please-what does error means:
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    That error occurs every time I try to "Build" web site after visiting one of it's pages and intellisense suddenly turned off immediately because project couldn't get compiled anymore.
    Beta2 seems dosen't have this problem.

    Thanks.
  • Do you always have to run Visual Studio as an Administrator or does it default after the first time?  Is there some way to set it to run as an administrator every time?

    Thanks!
  • I know I'm late in posting about this but I plan to install Vista soon and I'll want to have Visual Studio
  • 【原文地址】Tip/Trick: Using IIS7 on Vista with VS 2005 【原文发表日期】 Tuesday, September 19, 2006 7:41 AM 上个星期,几个人都询问我怎么在Windows

  • Al crear un Web Site con Visual Studio 2005 sobre Windows Vista, no hay problema siempre y cuando...

  • Al crear un Web Site con Visual Studio 2005 sobre Windows Vista, no hay problema siempre y cuando el

  • PingBack from http://patrickyong.wordpress.com/2006/10/12/visual-studio-2005-on-windows-vista/

  • 上个星期,几个人都询问我怎么在Windows Vista上使用VS 2005 建立IIS7上的网站。具体来说,他们都遇到了一个问题,在试图连接IIS7时,他们要么看到一个对话框要求他们安装FrontPage服务器扩展,要么得到一个“你必须是管理员组的成员”的出错消息

  • What a disaster Vista is!

    I installed teh final release yesterday .. after running the compat tester.

    1) my graphics adapter was said not to support the "AEro experience" .. but it is worse than that!  I ghav elost my screen res (have to work at 1024 x 768) and dual screen cap.  Spent $200 bucks for a new video card.

    2) Following the steps above fail "an error has occurred"

    3) my hard drives are continuously running

    Vista release!?!  I would not wish this product on anyone.

Page 1 of 2 (30 items) 12