473,750 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1842
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
1482
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 it can display two different languages in the GUI. Because of this Globalization.CultureInfo I must add two different AssemblyResourceFile(resx) which is added by selecting File->AddNewItem->AssemblyResourceFile(resx)
2
1695
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 able to run the project on my local computer, off my local IIS server/asp.net configuration. Here is what I've done, I've set up an IIS virtual drive that has the alias I want locally, and points to this network drive. I entered in my...
0
1012
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 in IIS under 'Default Web Site/VbWebSample' I run the check server extensions from IIS but I cannot open the project. If I open with 'Open Project with Web..' the open Project from Web dialog show up and I type in
0
1056
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 (C:\inetput\wwwroot), so delete the "WebApplication1" part of the path. Whenever I do this, the "OK" button is disabled (text turns from black to grey).
6
6190
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 immediately get the error "Unable to start debugging. Unable to start program XXX.exe". If I do "Start without debugging" my startup application gets correctly executed. Is this problem due to the fact I'm missing the debugging information for the...
6
16340
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 given directory and run an executable on that machine. I have configured the remote machine through ssh keygen to be able to authenticate my account and bypass the password. here is my "C" code: void create_server(char *servermcnm) { char...
4
2515
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 Visual Studio 2003 and 2005. I think that ASP.NET is correctly configured as the application works correctly if I launch it directly form internet explorer. Thanks.
5
2158
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 give a hand? Has MS fixed this in VS 2005? Is is fixed in VS 2008? Thanks, ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
2
1066
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
9568
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9389
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9335
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8257
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6079
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4709
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4881
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3320
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
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.