> Is the trace option turned off in the app.config?
Do you mean have I setup the system.diagnostics section; then yes I have as
below. I haven't however used the trace options which are part of system.web
as I'm sure you don't need these in a windows service, please correct me
though if I am wrong.
<system.diagnostics>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="MyListener"
type="System.Diagnostics.EventLogTraceListener" initializeData="MyService"
/>
</listeners>
</trace>
</system.diagnostics>
-------------
Michael Lyons
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of David Richards
Sent: Monday, 9 August 2010 8:03 AM
To: ozDotNet
Subject: Re: Remote debugging outside of domain
Have you tried logging on with credentials from the remote computer?
ie, create a local "testuser" account on the remote server and log on
with "remoteserver\testuser".
Is the trace option turned off in the app.config?
David
"If we can hit that bullseye, the rest of the dominoes
will fall like a house of cards... checkmate!"
-Zapp Brannigan, Futurama
On Sun, Aug 8, 2010 at 20:02, Michael Lyons <[email protected]> wrote:
> I'm needing to debug a Windows service to see why it is crashing after a
few
> minutes.
> I've setup the remote debugger on the host machine, but I receive the
error
> message "Unable to connect to the Microsoft Visual Studio Remote Debugging
> Monitor named 'x'. Logon Failure: unknown username or bad password".
> The issue is that my workstation is within a AD domain whilst the machine
I
> wish to debug is not. How can I go about debugging the remote machine
> without disconnecting from the domain or connecting the remote machine to
> the domain?
>
> The service has also for some reason or another stopped outputting to via
> System.Diagnostics.EventLogTraceListener, would anyone have any clue why
> this would happen?
>
> -------------
> Michael Lyons
>
>