Discussion:
Running WSUS 3.0 Samples v remote WSUS server
(too old to reply)
Dick D
2010-10-08 18:38:57 UTC
Permalink
Hello,

I was running one of the basic "Update Services 3.0 API Samples and
Tools” programs to connect remotely to my WSUS 3.0 SP2 box.

I modified the GetUpdateServer() method invocation. And I added a
reference to UpdateServices.Administration.dll in the project.

Then, when I built and ran it, I got the dreaded the "system cannot
find the file specified” exception that I have seen discussed here and
elsewhere.

I failed to find the file it was referring to using sysinternals'
procmon.exe .

However, installing the "Administration Console only" of "Windows
Server Update Services 3.0 SP2 Console" allowed the programs to run
just fine.

So can anyone else confirm that the WSUS Admin Console is indeed a
requirement for running the Sample Apps against a remote WSUS server?
I had not seen that documented anywhere.

_RD
Harry Johnston
2010-10-10 19:30:38 UTC
Permalink
Post by Dick D
I was running one of the basic "Update Services 3.0 API Samples and
Tools” programs to connect remotely to my WSUS 3.0 SP2 box.
I modified the GetUpdateServer() method invocation. And I added a
reference to UpdateServices.Administration.dll in the project.
Then, when I built and ran it, I got the dreaded the "system cannot
find the file specified” exception that I have seen discussed here and
elsewhere.
I failed to find the file it was referring to using sysinternals'
procmon.exe .
However, installing the "Administration Console only" of "Windows
Server Update Services 3.0 SP2 Console" allowed the programs to run
just fine.
So can anyone else confirm that the WSUS Admin Console is indeed a
requirement for running the Sample Apps against a remote WSUS server?
I had not seen that documented anywhere.
There's a note in the API Samples Readme which says: "The samples are coded to
expect a local WSUS server. For a CONSOLE_ONLY installation of WSUS the code
needs to be modified to use an overloaded version of GetUpdateServer() that uses
the name of the remote WSUS server. "

I would interpret that as meaning that you must have at least the WSUS console
installed.

Harry.
--
PS: if it seems quiet in here, that's because Microsoft have closed this newsgroup.

You might want to consider visiting the appropriate web forum instead.

WSUS: http://go.microsoft.com/fwlink/?LinkID=161025

Windows Update: http://social.answers.microsoft.com/Forums/en-US/vistawu/threads
Loading...