Yogesh Bajpai
how to debug web services on consumer side?
By Yogesh Bajpai in ASP.NET on Apr 02 2013
  • Rahul Sharma
    May, 2014 14

    With the Visual Studio .NET debugger, you can debug an XML Web service transparently on the local machine or a remote server. This means that the debugger functions the same way and allows you to use the same features on either machine. For remote debugging to work properly, however, there are some prerequisites. Visual Studio .NET remote debugging components must be installed on the server you want to debug. (For more information, see Setting Up Remote Debugging.) In C/C++, the project must be set up to connect using DCOM rather than TCP/IP. To set this property, you must open the Property Pages dialog box and choose Remote via DCOM for Connection. (For more information, see Project Settings for a C or C++ Debug Configuration.) By default, the ASP.NET process (aspnet_wp.exe for IIS5.0 and IIS 5.1 on Windows 2000 and Windows XP or w3wp.exe on IIS6 on Windows Server 2003) runs as an ASPNET process. As a result, you must have Administrator privileges on the machine where ASP.NET runs to debug it. The remote server must grant the debugger access. To grant access to a user, you must add the user to the Administrators group on the server. (If the ASP.NET worker process is running under your the user's own account, you can add the user to either the Administrators group or the Debugger Users group.) To add a user to the Debugger Users group on a server-: 1. Log onto the server as Administrator. 2. Right-click My Computer and choose Manage from the shortcut menu. 3. Under System Tools, Local Users and Groups, open the Groups folder. 4. Double-click Debugger Users. 5. In the Debugger Users Properties dialog box, you will see a list of members. If the user does not appear in the Members list, click the Add button. 6. In the Select Users or Groups dialog box, select the name of the user you want to add from the list and click Add. -or- Type the name of the user in the lower box. 7. Click OK. 8. Click OK. Now You need to restart your computer for the changes to take effect. I hope this post will help you

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS