473,436 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,436 software developers and data experts.

Problem with HttpDownloader by Kent Boogaart

Hi everyone

Lately I implemented Updater Block v.2.0 into my app but today I found
out that it's not working on Win98. I searched the web and found the
HttpDownloader made by Kent Boogaart.

I have my app compiled and it worked fine with the BITS (on WinXP). I
put the HttpDownloader.dll into my apps directory, modified the
app.config and updaterconfiguration.config as shown in readme.html and
fired all up.

Application downloaded the manifest files but when I give it a "go
ahead" for downloading updates I get this exception:
Microsoft.ApplicationBlocks.Updater.ApplicationUpd aterException:

The
Downloader Manager is unable to locate and/or create the downloader
instance. ---> System.NullReferenceException: Object reference not
set to an instance of an object.
at
Microsoft.ApplicationBlocks.Updater.Utilities.Down loaderFactory.GetConfigurationType(String
downloadProviderName)
at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationFactory.CreateInstance(String
configurationName)
at
Microsoft.ApplicationBlocks.Updater.Utilities.Down loaderFactory.CreateDownloader(String
downloaderProviderName)
at
Microsoft.ApplicationBlocks.Updater.Downloader.Dow nloadManager.GetDownloader(UpdaterTask
task)
--- End of inner exception stack trace ---
at
Microsoft.ApplicationBlocks.Updater.Downloader.Dow nloadManager.GetDownloader(UpdaterTask
task)
at
Microsoft.ApplicationBlocks.Updater.Downloader.Dow nloadManager.SubmitTask(UpdaterTask
task, TimeSpan maxWaitTime)
at
Microsoft.ApplicationBlocks.Updater.ApplicationUpd aterManager.Download(Manifest[]
selectedManifests, TimeSpan maxWaitTime)

Has anyone had the same problem? I've seen that over a 1k people
downloaded it so I guess I can't be the only one who came accross this
exception.

I'm developing in Delphi 2005 - maybe this is problem?
Maybe I have to add reference in project for this dll?
I took code activating the downloader from MS examples (InProx exactly)
- maybe I have to modify it in some way?

Big TIA

best regards
Mateusz [PEYN] Adamus
Nov 17 '05 #1
1 1832
Have you made the necessary changes to the manifest.xml file? You need
to specify what downloader to use. You should include the line:
<downloader name="HttpDownloader" /> in the manifest. If the downloader
name is not specified BITS will be used by default.

Hope that helps.

Mark

Mateusz [PEYN] Adamus wrote:
Hi everyone

Lately I implemented Updater Block v.2.0 into my app but today I found
out that it's not working on Win98. I searched the web and found the
HttpDownloader made by Kent Boogaart.

I have my app compiled and it worked fine with the BITS (on WinXP). I
put the HttpDownloader.dll into my apps directory, modified the
app.config and updaterconfiguration.config as shown in readme.html and
fired all up.

Application downloaded the manifest files but when I give it a "go
ahead" for downloading updates I get this exception:
Microsoft.ApplicationBlocks.Updater.ApplicationUpd aterException:

The
Downloader Manager is unable to locate and/or create the downloader
instance. ---> System.NullReferenceException: Object reference not
set to an instance of an object.
at
Microsoft.ApplicationBlocks.Updater.Utilities.Down loaderFactory.GetConfigurationType(String
downloadProviderName)
at
Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationFactory.CreateInstance(String
configurationName)
at
Microsoft.ApplicationBlocks.Updater.Utilities.Down loaderFactory.CreateDownloader(String
downloaderProviderName)
at
Microsoft.ApplicationBlocks.Updater.Downloader.Dow nloadManager.GetDownloader(UpdaterTask
task)
--- End of inner exception stack trace ---
at
Microsoft.ApplicationBlocks.Updater.Downloader.Dow nloadManager.GetDownloader(UpdaterTask
task)
at
Microsoft.ApplicationBlocks.Updater.Downloader.Dow nloadManager.SubmitTask(UpdaterTask
task, TimeSpan maxWaitTime)
at
Microsoft.ApplicationBlocks.Updater.ApplicationUpd aterManager.Download(Manifest[]
selectedManifests, TimeSpan maxWaitTime)

Has anyone had the same problem? I've seen that over a 1k people
downloaded it so I guess I can't be the only one who came accross this
exception.

I'm developing in Delphi 2005 - maybe this is problem?
Maybe I have to add reference in project for this dll?
I took code activating the downloader from MS examples (InProx exactly)
- maybe I have to modify it in some way?

Big TIA

best regards
Mateusz [PEYN] Adamus


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Kent Tong | last post by:
Hi all, I've installed Python 2.3 using the Windows installer downloaded from www.python.org. I'm using Win98. The installation process went well without any problem. However, double-clicking...
2
by: Kent Lewandowski | last post by:
hi all, Recently I wrote some stored procedures using java jdbc code (admittedly my first stab) and then tried to implement the same within java packages (for code reuse). I encountered...
1
by: Kent Lewandowski | last post by:
Hi, I saw this post from 3 years ago regarding converting DOUBLE values to CHAR in ibm DB2. Now I'm having the same problem. No real solution was posted to that old thread. Has anyone got...
10
by: Ady | last post by:
Hi, I posted this a few days ago but it seems no one has replied any help much appreciated. I know that i have to serialise my class, How could I pull out the value off offsetTextures and...
3
by: Kent | last post by:
The following is a greatly simplified example of what I would like to accomplish using the event/delegate features of .NET I have a class "NumGen" that produces a random set of numbers between 0...
1
by: Kent | last post by:
Hi, I have a form which contain 2 panels, Master and Detail, Master panel is on top and Detail panel is at the bottom. In the form, I set Detail panel to Dock to the bottom and Master panel...
14
by: rurpy | last post by:
Another Python docs problem... I was trying to use imp.find_module(). >>> imp.find_module("mymod", "./subdir") ImportError: No frozen submodule named ./subdir.mymod subdir/mymod.py...
4
by: flamesrock | last post by:
Kind of a fun but confusing problem... I have two lists. Each list contains elements of two-element lists. l1 = ,,] l2 = ,,,] Exactly in this format, where superlist is always a string...
105
by: sw | last post by:
Hi all, I have a news website tat is developed on joomla 1.5.Login facility is done thru a login component.On each page,ther s a 'Log In' link that redirects them to a login page.On successful...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.