473,399 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Cannot remotely execute project in debug

I have a service that was developed in C# that I wish to debug. The
project resides on my desktop system and I wish it to execute on a
remote test system (actually on the next desk).

When I confifure the project for remote debugging of the project I get
the following alert: "Error while trying to run project: Unable to start
debugging. Access is denied."

This worked fine in the past when the test machine was Windows 2000, but
now that my test system is running Windows 2003 I cannot seem to perform
the same remote debugging. I have set the .Net zone security to full
trust, but otherwise I have made no special configuration settings on
the test system. On the desktop (development) system I am set to project
debug, remote debugging true and the proper name of the test system has
been entered; I have also specified the command line value of
"-ConsoleMode", which instructs my 'service' to execute as a console
application, which it does fine if I invoke it from a command line on
either system.

Is there something I have missed that should be added? Should I not be
able to do this?

-ken
Nov 17 '05 #1
2 1821
Ken Allen wrote:
I have a service that was developed in C# that I wish to debug. The
project resides on my desktop system and I wish it to execute on a
remote test system (actually on the next desk).

When I confifure the project for remote debugging of the project I get
the following alert: "Error while trying to run project: Unable to start
debugging. Access is denied."

This worked fine in the past when the test machine was Windows 2000, but
now that my test system is running Windows 2003 I cannot seem to perform
the same remote debugging. I have set the .Net zone security to full
trust, but otherwise I have made no special configuration settings on
the test system. On the desktop (development) system I am set to project
debug, remote debugging true and the proper name of the test system has
been entered; I have also specified the command line value of
"-ConsoleMode", which instructs my 'service' to execute as a console
application, which it does fine if I invoke it from a command line on
either system.

Is there something I have missed that should be added? Should I not be
able to do this?

-ken


Does no one have any idea what can be causing this, or what tools could
be used to determine the cause of the problem?

-ken
Nov 17 '05 #2
I have just gone back over all of the options that were specified, and
they match the information from the MSDN pages.

1. I have ensured that my account is a member of the debugger group.
2. I copied the binaries from my development system to the test system.
3. I configured the project properties as specified.
4. To test, I can run the service in console mode from a command prompt
on the test system.

But when I attempt to initiate a remote debug from the development
system I constantly get an error "Unable to start debugging. Access is
denied."

Argh!

-ken
Nov 17 '05 #3

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

Similar topics

0
by: Tony Johansson | last post by:
Hello! Some background information so you have a chance to answer the question. I use Windows form (C++) and the IDE is VS2003. This application deals with Globalization.CultureInfo which mean...
2
by: Raterus | last post by:
Hi, I'm after this setup, and I'm just wondering if this is even feasible. I'd like to store my asp.net project remotely, on a network drive (all the project files, everything), But I want to be...
0
by: M | last post by:
I download a web sample project and put it in D:VbWebSample1 I create a new virtual directory alias as VbWebSample1 with IIS and the directory point to 'D:VbWebSample1' I can see all the files...
0
by: Deane | last post by:
When I try to create a new ASP.Net project in Visual Studio, it prompts me to create it here: http://localhost/WebApplication1 I want this application to be in the root of the localhost...
6
by: Bob Rock | last post by:
Hello, I'm using an executable (for which I do not have the source code nor the pdb file) as the startup application to load a DLL I'm writing and need to debug. If I try to debug the DLL I...
6
by: pvadhi07 | last post by:
Hi I am trying to execute a system command in my "C" code running on a Ubuntu Linux machine. The code is supposed to open a secure shell connection to another machine, change directories to a...
4
by: nagar | last post by:
I'm trying to launch a webservice in Debug from visual studio .net 2003. When I do that I get an error: "Cannot start debugging on the webserver". This happens on old and new projects, both using...
5
by: Ryan Liu | last post by:
I have this problem: "cannot continue edit while debug in VS2005". I see the same tread after I search this topic in google, but none solutions works for me. So again, I ask here. Can someone...
2
by: mynkow | last post by:
I want to execute some code only in debug mode. I found this: public void DebugThis(){...} But this refers for methods. I want to say something like this: #if DEBUG
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
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,...

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.