Motoring a Webcam

Configure Web Server for Visual Studio.NET Web Applications

 

 

Web Project Requirements

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:

If you are running Windows .NET Server or later, see http://support.microsoft.com/support/kb/articles/Q312/0/73.asp for late-breaking information about installing and configuring these components.

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 FPSE


To install Internet Information Services and FrontPage 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, users who installed Visual Studio on a Windows .NET server machine must run the Security Lockdown Wizard. For more information, see the section Configuring IIS for Windows .NET Server machines below.

3. Configure FPSE

The following steps are required if you are installing on a Windows 2000 or XP operating system with Windows FAT16 or FAT32 file systems. By default, FrontPage Server Extensions are configured when installed on Windows 2000 or XP with a NTFS file system. On Windows .NET Server 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.

To configure FrontPage Server Extensions 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.
To configure FrontPage Server Extensions on Windows XP
  1. On the Start menu, choose Control Panel, and then select Performance and Maintenance.
  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. Expand the Web sites node.
  5. 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.

  6. Choose Next on the first page of the Server Extensions Configuration Wizard.
  7. Choose Yes in the Warning dialog box.
  8. Choose No for configuring the mail server settings, and then choose Next.
  9. Choose Finish.
To enable and configure FrontPage Server Extensions on Windows .NET Server and later
  1. On the Start menu, choose Control Panel, and then select the Performance and Maintenance category.
  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 your machine name in the left pane and choose Security.
  5. Click Next on the first screen of the IIS Security Lockdown Wizard.
  6. Verify that HTTP: is set to Automatic and click Next.
  7. In the Request Handlers list, check each instance of Enable FrontPage Server Extensions / SharePoint.
  8. Click Next.
  9. Click Finish to complete the wizard.
  10. In the Computer Management dialog box, expand the Web sites node.
  11. 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.

  12. 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 .NET Servers

After installing Visual Studio .NET on Windows .NET Server, 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. 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 setup is complete, the correct version of ASP.NET might not be enabled. During Visual Studio .NET Setup, a different version of ASP.NET is installed. This wizard should be run after setup to ensure the latest version is enabled.

To configure IIS after running setup on Windows .NET Servers
  1. On the Start menu, choose All Programs.
  2. Choose Administrative Tools and then choose Internet Information Services.
  3. Right-click your machine name in left pane and choose Security.
  4. Click Next on the first screen of the IIS Security Lockdown Wizard.
  5. Verify that HTTP: is set to Automatic and click Next.
  6. In the Request Handlers list, check ASP.NET and each instance of n:\WINDOWS\Microsoft.NET\Framework\<version number>\aspnet_isapi.dll.
  7. Click Next.
  8. Click Finish to complete the wizard.