473,724 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 updaterconfigur ation.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.Appli cationBlocks.Up dater.Applicati onUpdaterExcept ion:

The
Downloader Manager is unable to locate and/or create the downloader
instance. ---> System.NullRefe renceException: Object reference not
set to an instance of an object.
at
Microsoft.Appli cationBlocks.Up dater.Utilities .DownloaderFact ory.GetConfigur ationType(Strin g
downloadProvide rName)
at
Microsoft.Pract ices.Enterprise Library.Configu ration.Configur ationFactory.Cr eateInstance(St ring
configurationNa me)
at
Microsoft.Appli cationBlocks.Up dater.Utilities .DownloaderFact ory.CreateDownl oader(String
downloaderProvi derName)
at
Microsoft.Appli cationBlocks.Up dater.Downloade r.DownloadManag er.GetDownloade r(UpdaterTask
task)
--- End of inner exception stack trace ---
at
Microsoft.Appli cationBlocks.Up dater.Downloade r.DownloadManag er.GetDownloade r(UpdaterTask
task)
at
Microsoft.Appli cationBlocks.Up dater.Downloade r.DownloadManag er.SubmitTask(U pdaterTask
task, TimeSpan maxWaitTime)
at
Microsoft.Appli cationBlocks.Up dater.Applicati onUpdaterManage r.Download(Mani fest[]
selectedManifes ts, 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 1847
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="HttpDownl oader" /> 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 updaterconfigur ation.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.Appli cationBlocks.Up dater.Applicati onUpdaterExcept ion:

The
Downloader Manager is unable to locate and/or create the downloader
instance. ---> System.NullRefe renceException: Object reference not
set to an instance of an object.
at
Microsoft.Appli cationBlocks.Up dater.Utilities .DownloaderFact ory.GetConfigur ationType(Strin g
downloadProvide rName)
at
Microsoft.Pract ices.Enterprise Library.Configu ration.Configur ationFactory.Cr eateInstance(St ring
configurationNa me)
at
Microsoft.Appli cationBlocks.Up dater.Utilities .DownloaderFact ory.CreateDownl oader(String
downloaderProvi derName)
at
Microsoft.Appli cationBlocks.Up dater.Downloade r.DownloadManag er.GetDownloade r(UpdaterTask
task)
--- End of inner exception stack trace ---
at
Microsoft.Appli cationBlocks.Up dater.Downloade r.DownloadManag er.GetDownloade r(UpdaterTask
task)
at
Microsoft.Appli cationBlocks.Up dater.Downloade r.DownloadManag er.SubmitTask(U pdaterTask
task, TimeSpan maxWaitTime)
at
Microsoft.Appli cationBlocks.Up dater.Applicati onUpdaterManage r.Download(Mani fest[]
selectedManifes ts, 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
1782
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 the "IDLE (Python GUI)" does nothing. The cursor changes to a hour-glass for about 1 second and then nothing happens. The "Python (command line)" works.
2
9243
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 problems doing this. I wanted to implemented a generic "Helper" class like this: /** * Helper
1
11658
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 more information how I avoid the scientific notation when I use the CHAR() function to convert a DOUBLE or FLOAT ? What I want is "MagicFunction" in the following pseudocode: myVarchar = MagicFunction(123.0003);
10
1579
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 add it on to the beginning of the file to get the offset to the start of my texture data.
3
1286
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 and 1000. Each time a number is generated an event called "NewNumber" is raised. I have another class "NumReceiver" with anywhere between 25 and 50 instances where each instance is interested in only a certain number produced by NumGen. Some...
1
9520
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 Dock to fill. As a result, when I do form resize, Detail's height always retain whereas Master height change base on form size. What I want to do now is I want to set a minimum size for the form, so that if the form got resize small than certain...
14
2294
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 definately exists, has reasonable permissions, etc.
4
3311
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 superlist is always an integer
105
6147
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 login,user details are set in session as well as cookies and then redirected back to d referring page.The 'Log In' section changes to 'Welcome user',along wid a 'Log Out' link.All this works d same in IE 6 as well as in FF 2.The difference comes...
0
8868
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8741
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9389
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9243
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9160
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6689
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4771
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2613
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2149
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.