Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Microsoft.Update.ServiceManager AddScanPackageService

Reply
Thread Tools Display Modes

Microsoft.Update.ServiceManager AddScanPackageService

 
 
gmyers
Guest
Posts: n/a

 
      10-28-2008
From the general looks of things, noone monitors this newsgroup but here goes
anyway...

Using the code from
http://msdn.microsoft.com/en-us/libr...mmunityContent
(tweaked to handle new file/path), I keep getting "Invalid procedure call or
argument".

Windows XP SP2
wuapi.dll 7.0.6000.381

Upon rewriting the code for VB.NET and extracting the exception, I get
"Value does not fall within the expected range" at the AddScanPackageService
call. This happens when referencing various versions of the wuapi.dll.

Ideas?

Thanks in advance...
 
Reply With Quote
 
 
 
 
MowGreen [MVP]
Guest
Posts: n/a

 
      10-28-2008
Without seeing anything other than what's in the Subject line:

> Microsoft.Update.ServiceManager AddScanPackageService


The page shows:

UpdateServiceManager.AddScanPackageService

Which is it, the first or second ?
Check the last post, " This code is 100% OK " and ensure that either you
change the name to "<path>\wsusscn2.cab" or rename wsusscn2.cab to
wsusscan.cab.

If none of the above is pertinent, suggest you post to the WSUS NG for
further assistance as this NG deals with the client-side of Windows Update:

http://www.microsoft.com/communities...pdate_services


MowGreen [MVP 2003-2009]
===============
*-343-* FDNY
Never Forgotten
===============



gmyers wrote:

> From the general looks of things, noone monitors this newsgroup but here goes
> anyway...
>
> Using the code from
> http://msdn.microsoft.com/en-us/libr...mmunityContent
> (tweaked to handle new file/path), I keep getting "Invalid procedure call or
> argument".
>
> Windows XP SP2
> wuapi.dll 7.0.6000.381
>
> Upon rewriting the code for VB.NET and extracting the exception, I get
> "Value does not fall within the expected range" at the AddScanPackageService
> call. This happens when referencing various versions of the wuapi.dll.
>
> Ideas?
>
> Thanks in advance...

 
Reply With Quote
 
gmyers
Guest
Posts: n/a

 
      10-28-2008
Hello,

UpdateServiceManager is an instance of Microsoft.Update.ServiceManager and I
was attempting to call AddScanPackageService and getting a not so useful
error message:
"Invalid procedure call..." - OR - "Value does not fall..."

I made the assumption it was looking at the third paramter
(UpdateServiceOption flag), however, I accidentally figured out that it is in
fact the path... The path MUST be non UNC and it the cab is not seen in the
local directory. (So, a limitation in the path masked by poor error
description...)

Thanks for the reply...


"MowGreen [MVP]" wrote:

> Without seeing anything other than what's in the Subject line:
>
> > Microsoft.Update.ServiceManager AddScanPackageService

>
> The page shows:
>
> UpdateServiceManager.AddScanPackageService
>
> Which is it, the first or second ?
> Check the last post, " This code is 100% OK " and ensure that either you
> change the name to "<path>\wsusscn2.cab" or rename wsusscn2.cab to
> wsusscan.cab.
>
> If none of the above is pertinent, suggest you post to the WSUS NG for
> further assistance as this NG deals with the client-side of Windows Update:
>
> http://www.microsoft.com/communities...pdate_services
>
>
> MowGreen [MVP 2003-2009]
> ===============
> *-343-* FDNY
> Never Forgotten
> ===============
>
>
>
> gmyers wrote:
>
> > From the general looks of things, noone monitors this newsgroup but here goes
> > anyway...
> >
> > Using the code from
> > http://msdn.microsoft.com/en-us/libr...mmunityContent
> > (tweaked to handle new file/path), I keep getting "Invalid procedure call or
> > argument".
> >
> > Windows XP SP2
> > wuapi.dll 7.0.6000.381
> >
> > Upon rewriting the code for VB.NET and extracting the exception, I get
> > "Value does not fall within the expected range" at the AddScanPackageService
> > call. This happens when referencing various versions of the wuapi.dll.
> >
> > Ideas?
> >
> > Thanks in advance...

>

 
Reply With Quote
 
gmyers
Guest
Posts: n/a

 
      10-28-2008
Oops... let me rephrase. No network drives... Lousy limitation.

Thanks

"MowGreen [MVP]" wrote:

> Without seeing anything other than what's in the Subject line:
>
> > Microsoft.Update.ServiceManager AddScanPackageService

>
> The page shows:
>
> UpdateServiceManager.AddScanPackageService
>
> Which is it, the first or second ?
> Check the last post, " This code is 100% OK " and ensure that either you
> change the name to "<path>\wsusscn2.cab" or rename wsusscn2.cab to
> wsusscan.cab.
>
> If none of the above is pertinent, suggest you post to the WSUS NG for
> further assistance as this NG deals with the client-side of Windows Update:
>
> http://www.microsoft.com/communities...pdate_services
>
>
> MowGreen [MVP 2003-2009]
> ===============
> *-343-* FDNY
> Never Forgotten
> ===============
>
>
>
> gmyers wrote:
>
> > From the general looks of things, noone monitors this newsgroup but here goes
> > anyway...
> >
> > Using the code from
> > http://msdn.microsoft.com/en-us/libr...mmunityContent
> > (tweaked to handle new file/path), I keep getting "Invalid procedure call or
> > argument".
> >
> > Windows XP SP2
> > wuapi.dll 7.0.6000.381
> >
> > Upon rewriting the code for VB.NET and extracting the exception, I get
> > "Value does not fall within the expected range" at the AddScanPackageService
> > call. This happens when referencing various versions of the wuapi.dll.
> >
> > Ideas?
> >
> > Thanks in advance...

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft update loops back to 'Welcome to Microsoft update' page Andrew S Windows Update 1 06-07-2008 06:04 PM
Microsoft update is opening inside Microsoft update Bjarte Windows Update 1 10-15-2007 07:37 PM
816093: Security Update Microsoft Virtual Machine (Microsoft VM) saspgmer Windows Update 0 03-22-2007 01:20 PM
RE: 816093: Security Update Microsoft Virtual Machine (Microsoft VM) BionixWV Windows Update 0 01-10-2007 05:24 AM
816093: Security Update Microsoft Virtual Machine (Microsoft VM) Robert Gleason Windows Update 10 01-26-2004 05:10 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59