Remote Debugging Problem

K

Ken Allen

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).
 
K

Ken Allen

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
 
K

Ken Allen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top