Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Sun, 15 May 2005 05:21:26 -0700,    group: microsoft.public.dotnet.myservices        back       


Debugger.Launch() hangs service on remote machine   
I am trying to step through a windows service on two machines simultaneously to test that a multi-server configuration will work correctly.  I can debug everything normally on my local machine.  

In my remote version (running in a virtual server via remote desktop), if I simply run the compiled service, it runs fine (all logging output is normal, etc.)  However, if I uncomment my Debugger.Launch() line and try to stop it in VS, the service simply hangs and does not respond "in a timely fashion."  Nothing even shows up in Event Viewer.  In fact, the service never comes back from "Starting" status and I have to reboot!

This strikes me as possibly some sort of security issue since I'm doing this on a remote machine, but I can't fathom what it would be.  I can otheriwse run and debug the project just fine on the remote machine.  Something about the Debugger.Launch() statement, in particular, is killing me.  Any ideas?

I have the service installed under LocalSystem on both machines.  I have tried a local admin login with the same results (I don't have domain admin rights, but I would hope that I wouldn't need them).

--------------------------------
From: Brian Moeskau

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>9c7b6I㚱ẻ콇㒬==</Id>
date: Sun, 15 May 2005 05:21:26 -0700   author:   Brian Moeskau via .NET 247

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us