Go to: How to debug webpart remotely

Source: Internet
Author: User

When the development machine is XP and the server is Windows Server 2003, how can I debug Web parts?

If you have a custom web control remote debugging developer, you have more experience with this.

Procedure for remote debugging:

I. server environment Configuration

1.1 remote debugging must be installed on the server.

Specific Method: select Custom installation when installing vs.net 2003, and select install remote debugging.

1.2 configure the window user. Specific Method: In the window user group management, find the debugger users user group and add the account for remote debugging to this group.

2. Development and debugging environment Configuration

2.1 configure the webpart Project Properties of vs.net and set the output path to the bin directory of wss iis (this bin directory is not available by default, which must be created by hand ). practice: You can share the IIS Directory of the remote server, and then change the webpart project output path of vs.net to the server sharing path.

2.2 Insert debugging breakpoint

2.3. On the menu bar of vs.net, choose tools> debug process to attach the w3wp.exe process of the remote server. At this time, the debugging environment configuration has been completed.

Debugging is already running. Open the WSS address of the server on IE. When the breakpoint on the Web part is run, it will be interrupted.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.