473,508 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remote Debugging Problem

I folloowed the instructions on configuring the remote debugging
capabilities, but I get the following error. I installed the remote
debugging components from the .Net install CD on the remote system and then
launched the remote debugger, which put up a commandprompt window. I then
configured my local project and hit F5 -- the program seemed to launch, and
a command prompt was displayed on the remote console (I have my service
running as a conole app for testing); after several seconds the exception
information below is displayed on my local system. I cannot debug the
exception since it tells me there is no source code; continuing causes the
debugger to exit and the console window for my test to be removed from the
other system.

What am I doing wrong? Or what am I not doing? I am logged in as myself in
both systems.

-Ken

An unhandled exception of type 'System.Security.SecurityException' occurred
in Unknown Module.

Additional information: Security error.

The program '[1828] MyService.exe' has exited with code 0 (0x0).
Nov 16 '05 #1
2 1514
Some more details -- when I continue from the exception on my local system,
some text is written to the command window on the remote system, but the
window is closed before I can read any of it, but the messages seem to have
something to do with permissions.

-Ken

"Ken Allen" <ke******@sympatico.ca> wrote in message
news:O6**************@TK2MSFTNGP10.phx.gbl...
I folloowed the instructions on configuring the remote debugging
capabilities, but I get the following error. I installed the remote
debugging components from the .Net install CD on the remote system and then launched the remote debugger, which put up a commandprompt window. I then
configured my local project and hit F5 -- the program seemed to launch, and a command prompt was displayed on the remote console (I have my service
running as a conole app for testing); after several seconds the exception
information below is displayed on my local system. I cannot debug the
exception since it tells me there is no source code; continuing causes the
debugger to exit and the console window for my test to be removed from the
other system.

What am I doing wrong? Or what am I not doing? I am logged in as myself in
both systems.

-Ken

An unhandled exception of type 'System.Security.SecurityException' occurred in Unknown Module.

Additional information: Security error.

The program '[1828] MyService.exe' has exited with code 0 (0x0).

Nov 16 '05 #2
OK, I finally figured this one out as well -- I had to run the .Net
configuration on the remote (test) system and specify the Zone Security to
permit a level of trust on the intranet.

-Ken

"Ken Allen" <ke******@sympatico.ca> wrote in message
news:O6**************@TK2MSFTNGP10.phx.gbl...
I folloowed the instructions on configuring the remote debugging
capabilities, but I get the following error. I installed the remote
debugging components from the .Net install CD on the remote system and then launched the remote debugger, which put up a commandprompt window. I then
configured my local project and hit F5 -- the program seemed to launch, and a command prompt was displayed on the remote console (I have my service
running as a conole app for testing); after several seconds the exception
information below is displayed on my local system. I cannot debug the
exception since it tells me there is no source code; continuing causes the
debugger to exit and the console window for my test to be removed from the
other system.

What am I doing wrong? Or what am I not doing? I am logged in as myself in
both systems.

-Ken

An unhandled exception of type 'System.Security.SecurityException' occurred in Unknown Module.

Additional information: Security error.

The program '[1828] MyService.exe' has exited with code 0 (0x0).

Nov 16 '05 #3

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

Similar topics

1
3555
by: Bihari Srinivasan | last post by:
I am using two PCs, say PC-1 and PC-2 in a networked environment (TCP/IP). Both of these run Windows 2000. PC-1 is a development platform and PC-2 is a remote debug platform. I have a very...
1
285
by: Céline | last post by:
HI everybody, I am trying to get somewhere with VisualStudio.net. The problem is that my web server is not on my PC (for company security reason) on is remote. Everytime I try to create a...
1
2033
by: Gary K | last post by:
I am trying to setup remote debugging on my first client-server setup, so hopefully this problem is just stupidity on my part. The client machine is running Windows XP Pro/SP2 with Visual Studio...
3
5501
by: Steve Wark | last post by:
I have a Windows 2003 Web server on which I was debugging remotely with no problems. I then moved this server to a different domain and now remote debugging will not work, the error is; ...
1
3052
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
1790
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...
7
2574
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....
3
2730
by: Rick | last post by:
We have a web site that was built as an ASP.Net Web Site, I am unable to remote debug, when build ing the web site there is not a dll or PDB file generated. I can debug on my local machine but...
0
1570
by: Peted | last post by:
I suspect there is a better forum for this question, but i couldnt find it. If someone could point me in the right direction or help me with this question it would be muchly appreciated I have...
3
6610
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
7114
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...
1
7034
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
7488
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...
1
5045
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
4702
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
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1544
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 ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
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...

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.