.NETGURU
Microsoft .NET Updater block without using IIS
Messages   Related Types
This message was discovered on microsoft.public.dotnet.distributed_apps.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

rmike@iname.com
I have been trying to use .NET updater block by pointing to local (or
shared) drive in config's <server><xmlFile> element instead of using
an IIS URL. Unfortunately I could not make it work. Is there any way
to use the Updater .NET block without IIS ? The error I was getting
(with the sample Console application) :

[DownloaderManager.IsServerManifestDownloaded] :
The metadata file (the Server Manifest) can't be downloaded for
the application 'ConsoleTest1'.
        Either the manifest is unavailable (check download URL in Updater
config file), the downloader failed, or
        the Manifest failed validation.
ERROR: Exception from HRESULT: 0x8020000F.
STACK: at Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.IBackgroundCopyJob.GetError(IBackgroundCopyError&
ppError)
at Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.BITSDownloader.HandleDownloadErrorCancelJob(IBackgroundCopyJob
copyJob, String& errMessage) in C:\Program Files\Microsoft Application
Blocks for .NET\Updater\Code\CS\Microsoft.ApplicationBlocks.Updater\Microsoft.ApplicationBlocks.ApplicationUpdater\BITSDownloader.cs:line
482
at Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.BITSDownloader.Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.IDownloader.Download(String
sourceFile, String destFile, TimeSpan maxTimeWait) in C:\Program
Files\Microsoft Application Blocks for
..NET\Updater\Code\CS\Microsoft.ApplicationBlocks.Updater\Microsoft.ApplicationBlocks.ApplicationUpdater\BITSDownloader.cs:line
191
at Microsoft.ApplicationBlocks.ApplicationUpdater.DownloaderManager.IsServerManifestDownloaded()
in C:\Program Files\Microsoft Application Blocks for
..NET\Updater\Code\CS\Microsoft.ApplicationBlocks.Updater\Microsoft.ApplicationBlocks.ApplicationUpdater\DownloaderManager.cs:line
438
Reply to this message...
 
    
Sam Santiago
You are using the BITSDownloader which will use IIS. You must configure
your application to use the UNCDownloader which can be found in the
QuickStart examples source directory:

C:\Program Files\Microsoft Application Blocks for
..NET\Updater\Original-Code\VB\Quickstart--FlexPoints\UNCDownloader.vb

Take the UNCDownloader.vb file and create your own custom downloader library
assembly. Read the help file regarding creating a custom downloader.
Essentially include the VB file in an library project and build your
assembly. Then use your assembly in the configuration of the UAB in your
App.config:

<appUpdater>

<UpdaterConfiguration>

<!-- Check the server every 20 minutes for a new release of the
application. -->

<polling type="Seconds" value="1200" />

<logListener logPath="C:\Program Files\<Appdir>\UpdaterLog.txt" />

<!-- **************** UNC DOWNLOADER **************** -->

<downloader type="MyAssembly.UNCDownloader"
assembly="MyAssembly,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"/>

....

Definitely, play with the QuickStarts to get a feel for the UAB. Good luck.

Thanks,

Sam
--
_______________________________
Sam Santiago
Click here to reveal e-mail address
<Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

b.GetError(IBackgroundCopyError&
[Original message clipped]

ndleDownloadErrorCancelJob(IBackgroundCopyJob
[Original message clipped]

onBlocks.ApplicationUpdater\BITSDownloader.cs:line
[Original message clipped]

crosoft.ApplicationBlocks.ApplicationUpdater.Interfaces.IDownloader.Download
(String
[Original message clipped]

onBlocks.ApplicationUpdater\BITSDownloader.cs:line
[Original message clipped]

ifestDownloaded()
[Original message clipped]

onBlocks.ApplicationUpdater\DownloaderManager.cs:line
> 438

Reply to this message...
 
    
vrubel (VIP)
Old version BITS does not allow download files which expansion has more than
3 symbols
Reply to this message...
 
    
Bill
the gotdotnet forum may have mentioned this -
http://www.gotdotnet.com/workspaces/messageboard/home.aspx?id=83c68646-befb-4586-ba9f-fdf1301902f5
<Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

b.GetError(IBackgroundCopyError&
[Original message clipped]

ndleDownloadErrorCancelJob(IBackgroundCopyJob
[Original message clipped]

onBlocks.ApplicationUpdater\BITSDownloader.cs:line
[Original message clipped]

crosoft.ApplicationBlocks.ApplicationUpdater.Interfaces.IDownloader.Download
(String
[Original message clipped]

onBlocks.ApplicationUpdater\BITSDownloader.cs:line
[Original message clipped]

ifestDownloaded()
[Original message clipped]

onBlocks.ApplicationUpdater\DownloaderManager.cs:line
> 438

Reply to this message...
 
 
System.TimeSpan




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification