473,569 Members | 2,648 Online
Bytes | Software Development & Data Engineering Community
+ 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 1401
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\system3 2\inetsrv\urlsc an\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
5893
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 connect to the remote machine with VNC and start the application, once running from VS .NET on my development machine I connect to that process...
3
383
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 Windows XP workstation, but other than that, it was smooth sailing. And, oh yeah. I also have to run remote desktop sharing terminal between my XP...
2
1119
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 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...
1
3065
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! My preferred method of debugging uses these steps: 1. Share the directory that contains the debug image; also share the folder that contains the...
0
1801
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 system is Windows XP Pro and the test machine is Windows 2003, both running the latest upgrades; Visual Studio 2005 is installed on the development...
8
2623
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 working. I need to debug. I get the error: "Unable to start debugging on the web server. The debugger cannot connect to the remote computer"...
7
2582
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. I had no issue creating the web app on the remote server after authenticating with the domain account, but I can't debug. It complains that I don't...
1
2018
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: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/sharepoint_debugwebparts.asp Debug Settings and Preparation:...
3
6612
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 installed on the server I want to debug, the remote debugger tools from the VS 2005 CD. I just install the windows application. I tried from there...
0
7615
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
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 we have to send another system
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.