Re: ExecQueryAsync Fails on XPSP2

From: Simon Manners (SimonManners_at_discussions.microsoft.com)
Date: 11/15/04


Date: Mon, 15 Nov 2004 15:10:03 -0800

Thanks Peter,

Its bizarre really, my ConnectServer method correctly connects to the remote
workstation using a domain Administrator account. If I use any other type of
query call other that ExecQueryAsync it works fine. Is there something
special about ExecQueryAsync?

Microsoft are determined to make this as difficult as possible.

Before the obvious is asked, yes the firewall is disabled.

Cheers,

Simon

"Peter Falz" wrote:

> Hi Simon Manners,
> "Simon Manners" <SimonManners@discussions.microsoft.com> schrieb im Newsbeitrag
> news:A4E0D01A-66F4-4544-A2D9-F53473E965ED@microsoft.com...
> > I'm hoping someone will be able to help me with this. I use the call:
> > xxxxx.ExecQueryAsync SinkName, "Select * From " & ClassName
> > To retrieve information from a remote workstation, in this case a Windows
> > 2000 Server. My application is running on a Windows XP SP2 system and it
> > connects to the remote device correctly (firewall disabled) however when I
> > execute the query it never returns any information. This worked on Windows XP
> > SP1 of course.
>
> i've had a similar phenomenon ;-).
>
> Maybe a change of the "ImpersonationLevel" can help.
> Also be sure, that the setting of the rights for the user
> you use are alright.
>
> Ciao
> Peter
>
>
>



Relevant Pages

  • Re: Remote Desktop not working on Windows XP machine
    ... Have a Home network running Windows XP workstations MachineA remote ... TCP port 3389: ... was able to get access to the workstation. ...
    (microsoft.public.windowsxp.work_remotely)
  • RE: Using Active Directory
    ... Welcome to ASPNET newsgroup. ... For AD query, generally there may occur some secuirty related issues ... First, for manipulate directory on remote machine, we'll need to expose the ... Look for user/groups on a windows 2000 machine which is not a ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Redirecting data sent to a local printer to another host and port on the network
    ... there are two other Windows 98 workstations (each with its own ... The goal is to allow users at the remote site (who also access the ... port 515 to the IP address of the actual remote ... workstation at the branch site where the print job originated. ...
    (comp.unix.sco.misc)
  • Re: Lock when exiting Remote Desktop
    ... forcibly unlock the workstation. ... Jeffrey Randow (Windows Networking & Smart Display MVP) ... Remote Networking Technology Support Site - ...
    (microsoft.public.windows.server.general)
  • Re: Remote Admin advice
    ... > workstation issues remotely. ... Windows 2003 servers. ... something like PCAnywhere Host or Remote Administrator - they have the ...
    (microsoft.public.win2000.networking)