Closed GoogleCodeExporter closed 8 years ago
Chris,
Could you post a stack trace for the access denied exception? Also, closing the
connection to the server with "serverInstance.Close()" in the middle of the For
Each loop in btnconnect_Click looks rather suspicious to me. I think that line
should be after the "Next" statement.
Original comment by danports
on 8 Nov 2011 at 5:01
Closing since there's not enough information to reproduce this. Chris, if you
have anything to add, just post a comment.
Original comment by danports
on 11 Dec 2011 at 1:23
The attached document is a screenshot of the Stack Trace. Im not sure if ive
done the stack trace properly. However I placed it after the "Next" before the
"else".
Cheers
Chris
Original comment by c.nan...@gmail.com
on 24 Dec 2011 at 1:23
Attachments:
I meant the stack trace associated with the exception -- there's no Cassia code
in the stack trace above. Usually when there's an exception, Visual Studio will
pop up a dialog out of which you can copy the stack trace text if you poke
around and look for it.
Original comment by danports
on 24 Dec 2011 at 1:40
I have practically the same problem. Attached is shot of the stack trace when
the exception is generated - after the call to WTSEnumerateSessions(). Using
32 vs. 64 bit makes no difference, there are no firewalls, RDP connects easily
over port 3389, telnet has no problems with port 445, etc, etc. I am all out
of ideas!
When I get some more time I'll revisit and try added GetLastError() calls, but
I'm pretty sure it'll just say 'Access denied' anyway.
Original comment by grimreap...@gmail.com
on 8 Mar 2012 at 11:54
Attachments:
@grimreaper32uk: Are you connecting to the local server or a remote server? If
local, could UAC be an issue in your scenario? If remote, are you connecting to
a Windows 7/Vista/XP machine? Have you checked that the user account you're
running under has the appropriate Remote Desktop permissions?
Original comment by danports
on 8 Mar 2012 at 2:16
Original issue reported on code.google.com by
c.nan...@gmail.com
on 5 Nov 2011 at 2:47