473,469 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using remote debugging

Hi all,

I was thinking about setting up a staging server reunning windows 2003 Server.
Up until now I've always used my local machine to perform development because
I don't know how to get debugging working on a remote machine. And frankly,
sometimes getting debugging to work on my own machine can be a total pain
in the arse.

But now I'm going to give it a shot.

Could someone tell me:

a. What I need to do
b. Whether I should expect to be up all night pulling my hair out at stupid
"Cannot Start Debugging" messages!

Thanks everyone

Kindest Regards

Simon

Jul 21 '05 #1
2 1391
Hi ,
First of all to debug remotely u need to install .NET remote debugging
server components.
1)To do that when u are running the visual studio .net wizard choose the
the option for installing full remote server components on the server.
2) If u have to debug on the server, u need to have a user account there on
the server with the user added to the debug users group.
3) The last step is to attach to a remote process from .net ide. Go to tools
menu, choose debug processes. Choose the process u want to debug.

Cheers,
Sowmya

"SimonH" wrote:
Hi all,

I was thinking about setting up a staging server reunning windows 2003 Server.
Up until now I've always used my local machine to perform development because
I don't know how to get debugging working on a remote machine. And frankly,
sometimes getting debugging to work on my own machine can be a total pain
in the arse.

But now I'm going to give it a shot.

Could someone tell me:

a. What I need to do
b. Whether I should expect to be up all night pulling my hair out at stupid
"Cannot Start Debugging" messages!

Thanks everyone

Kindest Regards

Simon

Jul 21 '05 #2
You may also want to make sure that the URL of the new site on your
server is a trusted site. ASP.NET interprets plain IP addresses as
untrusted and therefore won't allow debugging right away. If you're
using an IP address to connect to your web project, just add it to
trusted sites in IE. If you're on a domain controlled network, your
user account needs to be added to the debugger users group so Windows
Authentication will trust you to debug remotely.

Depending on the security settings of your web server, you may also
want to look at "\WINNT\system32\inetsrv\urlscan\urlscan.ini" and make
sure to add the verb "DEBUG" to the [AllowVerbs] section.

Hope this helps.

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nick Bunton | last post by:
I have setup remote debugging on an NT4 workstation for testing. I then build from the debug config on my machine and copy all the files from the /bin/debug folder including the .PDB files. I then...
3
by: INGSOC | last post by:
I spent a few hours today setting up remote debugging in VS.2003 I had to disable the firewall, subvert the security scheme and let anonymous users have full access to my COM+ objects on my...
2
by: SimonH | last post by:
Hi all, I was thinking about setting up a staging server reunning windows 2003 Server. Up until now I've always used my local machine to perform development because I don't know how to get...
1
by: Ken Allen | last post by:
I have encountered a problem with remote debugging under VS 2005 and ..Net 2.0 -- it seems that the framework installation does not include the "Microsoft .Net Framework 2.0 Configuration" tool! ...
0
by: Ken Allen | last post by:
The MSDN documentation on remote debugging is a bit sparse, to say the least, and there is almost no information available on the 'best' way to configure this. I should note that my development...
8
by: Fred Flintstone | last post by:
I have an odd problem. I'm beating myself bloody trying to get debugging to work. I have VS.Net 2005 installed on a Windows XP SP2 workstation and on a W2003 Server. The asp.net application is...
7
by: | last post by:
I'm writing an ASP.NET app, using Visual Studio 2003. VS is running locally on my laptop, but the web app is running on a remote server. My laptop is not in the domain. I do have a domain account....
1
by: CK | last post by:
Hello All, I have been trying to setup remote debugging for web part development by running through the steps in the following documentation: Debugging Web Parts:...
3
by: Yves Gagnon | last post by:
Hi, I try to debug a WCF hosted in a windows services on a serveur that is on an other domaine then my developpement machine. I tried many things without succes. Here is what I tried: First I...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.