MrDave's (David Yack) WebLog

Updater Application Block Error....Any Ideas?

Yesterday I ran across the Updater Application Block - and thought it looked interesting.  I downloaded it and started to get it implemented on one of our applications.  Conceptually, the idea is great - and from the docs they have put a lot of work into them.

That being said I have to admit my first attempt to get it working leaves the docs with a lot to be desired!

While there are quick starts included they really don't give you the step by step advice on how to get it running in your application.  I think a good example that walks you through building hello world would be nice

I thought I was almost there and it turned out the dll's distributed with the updater were not signed so I had to scamble to sign them since I was referencing them from an application that was signed. (Something for MS to think about for future versions!)

That being said I stumbled my way through getting them integrated with the application - the quick start did help some for that with a lot of copy / paste.  Now I'm to the point it will recognize the new version - but when it attemps to download it gets the following error...

Any Ideas?  Speaking of Bits - I think I only have a few small Bits of patience left :)

[BITSDownloader] :
    The BITS service returned an error for the job with the ID '3af863fd-377f-4347-9367-d39e693c5e5e';
  the job's name and description are 'BITS_Files_Download_Job' and 'BITS_Files_Download_Job'. 
  The BITS service error message for this job is
  'The server has not found anything matching the requested URI (Uniform Resource Identifier).

'.
  This job has been canceled, and the DownloaderManager will attempt it again.  If you see this error frequently, you may have a mis-configuration, or another
  administrator process/user is canceling BITS jobs.
  It is also possible that some mis-configuration of the Manifest file is causing BITS to have trouble with a source or destination path;
  be sure that all SOURCE paths are valid URLs, and that all DESTINATION paths are valid LOCAL UNC paths--__shares are not allowed__.

Comments

Phil Weber said:

Hi, Dave: A Google search for that error message returned this: http://groups.google.com/groups?threadm=%23p3bGe%24eDHA.988%40TK2MSFTNGP10.phx.gbl . Does it help?
# January 25, 2004 8:11 PM

David Yack (Mr Dave) said:

Thanks Phil - that was it!

Turns out I had a .pdb file in the list of the files on manifest and it tried to download that and IIS 6 choked because it wasn't on the mime types list

Here's a link on how to find the mime types in iis6 if anyone is interested!
http://www.jdhodges.com/log/1354
# January 25, 2004 11:48 PM

Greg McFarlane said:

Thanks for the help. This was the final piece of the puzzle. I agree with your comments re the doc.

I will give MS a hand for writing a pretty good help file, but a 'Hello World' walk through would save a lot of gnashing and rending.

Thanks again.
# March 5, 2004 12:17 AM

hula said:

Agree with you guys on this, spent alomost a day trying to figure out , why dont MS$ put a step by step guide for this?

# June 18, 2004 4:00 AM

Zina said:

Hello. It is healthy, I shall come on your site more often, thank. Help me! Can not find sites on the: Mr mephisto. I found only this - <a href="advancedmaritimetechnology.aticorp.org/.../mephisto-master-review">mephisto master review</a>. Mephisto, casas bore his throwback as a next and inclusive one, however though his bag would be really from debate for several rules as he did even over mexico and the united states. Mephisto, right, there are divine charm bands. Thank :-( Zina from India.

# March 22, 2010 10:24 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)