Aracılığıyla paylaş


How to: Enable Web Server Debugging on Windows 7

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic does not apply Topic does not apply Topic does not apply Topic does not apply Topic does not apply

Pro, Premium, and Ultimate

Topic applies Topic applies Topic applies Topic applies Topic applies

To enable Web server debugging on Windows 7, you must perform the following additional steps on the Web server host computer. Administrator privileges are required.

Not

Windows 7 does not support FrontPage Server Extensions. If you want to open a Web site in Visual Studio, you must open it from a file share or an FTP share. In the Open Web Site dialog box, you cannot use the Remote Site. You can use the File System option and type a UNC path, and then set the Web server path in the Project Properties page. Or, you can use the FTP Site option.

To enable Web server debugging on Windows 7

  1. In Control Panel,click System and Security.

  2. Click Windows Firewall.

  3. Open the TCP 80 port, which is necessary for ASP, and ASP.NET, ATL Server debugging.

    1. In the Windows Firewall control panel, click Advanced Settings.

    2. If the User Account Control dialog box appears, click Yes to continue.

      The Windows Firewall with Advanced Security window opens.

    3. Click Inbound Rules.

    4. In the Actions pane, click New Rule.

      The New Inbound Rule Wizard appears.

    5. Under What type of rule would you like to create?, select Port, and then click Next.

    6. Select TCP and Specific local ports, then enter 80 in the Specific local ports box.

    7. Click Next.

    8. On the Action page, select Allow the Connection, and then click Next.

    9. On the Profile page, select the profiles where you want the rule to apply. Usually, you will want Domain and possibly Private, but not Public.

    10. Click Next.

    11. On the Name page, type a meaningful name, such as Web Server Debugging, in the name box.

    12. Click Finish.

  4. Close the Windows Firewall with Advanced Security window.

See Also

Tasks

How to: Set Up Remote Debugging