Web project requirements for Visual Studio .NET or Visual Studio 2005 development

What follows are the contents of the Readme file as it shipped with the products listed above. It has not been edited by the Microsoft Developer Support Knowledge Base editing team.

Summary

Web project requirements for Visual Studio .NET or Visual Studio 2005

If you want to create Web projects on this machine, you must first install additional components. To create Web projects, both Internet Information Services (IIS) and FrontPage Server Extensions (FPSE) must be installed and configured. You can, however, create Web projects on remote machines that have these components installed and configured.


Preparing a machine to be a Web server includes the steps below, to be completed in the following order. Some of these steps may be optional depending on your machine configuration:


  1. Download security updates
  2. Install IIS and Front Page Server Extensions
  3. Configure FrontPage Server Extensions
  4. Install security updates
  5. Return to setup
  6. Configure IIS on Windows Server 2003

More Information

1. Download security updates

Before enabling these components, you must download the latest security updates. Go to http://msdn.microsoft.com/vstudio/security/ to download the latest security updates for these components. Unless you installed your operating system via a network, you should disconnect your machine from the network until you have completed step 4, Install Security Updates listed below. If you do not disconnect, your machine could be susceptible to viruses between installing the components and applying the latest security updates.

2. Install IIS and Front Page Server Extensions

  1. For Windows 2000, on the Start menu, choose Settings, and then choose Control Panel. For Windows XP and later, on the Start menu, choose Control Panel.
  2. Choose Add/Remove Programs.
  3. In the Add/Remove Programs dialog box, choose Add/Remove Windows Components.
  4. In the Windows Component Wizard, select Internet Information Services (IIS).
  5. With Internet Information Services (IIS) selected, choose Details.
  6. If FrontPage version number Server Extensions are not already selected, select the check box.
  7. Click OK.
  8. Choose Next to begin installing.

    Note After completing Visual Studio setup on a Windows Server 2003 computer, you must run the Security Lockdown Wizard. For more information, see the "How to Configure IIS on Windows Servers 2003" section of this article.

3. Configure FrontPage Server Extensions

The following steps are required if you are installing on a Windows 2000 or Windows XP operating system with Windows FAT16 or Windows FAT32 file systems. By default, FrontPage Server Extensions (FPSE) are configured when installed on Windows 2000 or XP with a NTFS file system. On Windows Server 2003 and later, FPSE needs to be enabled in the IIS Security Lockdown Wizard, regardless of your file system type.


Caution If you are using FAT16 or FAT32 file system, it is strongly recommended that you convert to NTFS before following the steps below. Running FrontPage Server Extensions on a FAT file system allows any anonymous user to author on your Web server.

On Windows 2000

  1. On the Start menu, choose Settings, and then choose Control Panel.
  2. Select Administrative Tools, and then select Computer Management.
  3. In the Computer Management dialog box, expand the Services and Applications node, and then expand the Internet Information Services node.
  4. Right-click Default Web Site, choose All Tasks, and then choose Configure Server Extensions.

    Note If the Configure Server Extensions menu command is missing, FrontPage Server Extensions are already installed and configured.

  5. Choose Next on the first page of the Server Extensions Configuration Wizard.
  6. Choose Yes in the Warning dialog box.
  7. Choose No for configuring the mail server settings, and then choose Next.
  8. Choose Finish.

On Windows XP

  1. On the Start menu, choose Run, type InetMgr, and then click OK.
  2. In the Internet Information Services dialog box, expand the Computer named node, and then expand the Web Sites node.
  3. Right-click Default Web Site, choose All Tasks, and then choose Configure Server Extensions.

    Note If the Configure Server Extensions menu command is missing, FrontPage Server Extensions are already installed and configured.
  4. Choose Next on the first page of the Server Extensions Configuration Wizard.
  5. Choose Yes in the Warning dialog box.
  6. Choose No for configuring the mail server settings, and then choose Next.
  7. Choose Finish.

On Windows Server 2003 and later versions

Note This procedure does not apply to Microsoft Windows 2003 Web Server Edition.
  1. On the Start menu, choose Run, type InetMgr, and then click OK.
  2. Right-click your machine name in the pane on the left, and then choose Security.
  3. Click Next on the first screen of the IIS Security Lockdown Wizard.
  4. Verify that HTTP: is set to Automatic, and then click Next.
  5. In the Request Handlers list, check each instance of Enable FrontPage Server Extensions / SharePoint.
  6. Click Next.
  7. Click Finish to complete the wizard.
  8. In the Computer Management dialog box, expand the Web sites node.
  9. Right-click Default Web Site, choose All Tasks, and then choose Configure Server Extensions.Note If the Configure Server Extensions menu command is missing, FrontPage Server Extensions are already installed and configured.

  10. Click Submit on the Extend Virtual Server with FrontPage Server Extensions 2002 page.

4. Install security updates

Run the security updates you downloaded in step 1, "Download Security Updates." After applying the updates, you can safely reconnect to the network.

5. Return to setup

You can return to setup by running Setup on CD1 or DVD of the Visual Studio product you are installing.

6. Configure IIS on Windows Server 2003

After installing Visual Studio .NET or Visual Studio 2005 on Windows Server 2003, Advanced Server, or Datacenter Server, ASP.NET is not enabled by default. To develop Web projects successfully, you must run the Security Lockdown Wizard after completing Visual Studio .NET Setup or Visual Studio 2005 Setup. For your convenience, you can print these instructions or save this file to your local machine for reference after completing setup.


Caution If you run this wizard before Visual Studio .NET or Visual Studio 2005 setup is complete, the correct version of ASP.NET might not be enabled. During Visual Studio .NET Setup or Visual Studio 2005 Setup, a different version of ASP.NET is installed. This wizard should be run after setup to ensure the latest version is enabled.

  1. On the Start menu, choose Run, type InetMgr, and then click OK.
  2. Right-click your machine name in the pane on the left, and then choose Security.
  3. Click Next on the first screen of the IIS Security Lockdown Wizard.
  4. Verify that HTTP: is set to Automatic, and then click Next.
  5. In the Request Handlers list, check each instance of n:\WINDOWS\Microsoft.NET\Framework\version number\aspnet_isapi.dll.
  6. Click Next.
  7. Click Finish to complete the wizard.
Propriedades

ID do Artigo: 312073 - Última Revisão: 14 de jul de 2008 - Revisão: 1

Comentários