[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
ASPNETFAQ_RemoteDebugging
Back to ASP.Net FAQ Main Page.

How to get started using Remote Debugging

Getting remote ASP.NET sourcecode debugging to work between a server and a client using Visual Studio.NET can sometime give you headaches.

Here's a few ides on how to get that to work:

On the server enable COM internet services and Distributed COM. You do that by doing the following:
  1. Open the control panel
  2. Open Administrative Tools
  3. Doubleclick on the Component Services to open the Component Services Microsoft Management Console (MMC).
  4. DoubleClcik on Component Services
  5. DoubleClcik on "Computers"
  6. Right Click on the "My Computer" and select properties
  7. Click on the Default Properties tab
  8. Make sure both the Enable Distributed COM and Enable COM Internet Services are checked
  9. Press Apply and restart your computer


For computers without a domain server, you should make sure that both the server and the local client has the same username and password in the user-database. If you use the user "Administrator" on the client, make sure that is available on the server and that they have the same password.

Make sure the user on the server is a member of the debugger group.

Set full disk/file access for this user to the \WINNT\Microsoft.NET and to the path where the files you try to debug is located.

Do not reference the server from the client using IP Addresses, use the server name instead , like "LocalServer". IP Addresses seems to be less trusted.

Make sure ASP.NET debugging is enabled in your .NET project properties.



last edited (December 9, 2002) by KDivad Leahcim, Number of views: 4236, Current Rev: 2 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Site Management by Lars Hagelin at Kontantkort.se.